/[smeserver]/rpms/horde/sme9/horde-3.3.11-prevent-deprecated-warnings.patch
ViewVC logotype

Contents of /rpms/horde/sme9/horde-3.3.11-prevent-deprecated-warnings.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 14 19:51:29 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: horde-3_3_11-2_el6_sme, HEAD
Initial import

1 diff -up horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Notification.php
2 --- horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings 2010-11-23 01:22:36.000000000 +0100
3 +++ horde-3.3.11/lib/Horde/Notification.php 2011-09-19 08:37:00.000000000 +0200
4 @@ -61,7 +61,7 @@ class Notification {
5 static $notification = array();
6
7 if (!isset($notification[$stack])) {
8 - $notification[$stack] = &new Notification($stack);
9 + $notification[$stack] = new Notification($stack);
10 }
11
12 return $notification[$stack];
13 diff -up horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Perms.php
14 --- horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings 2010-11-23 01:22:36.000000000 +0100
15 +++ horde-3.3.11/lib/Horde/Perms.php 2011-09-19 08:37:56.000000000 +0200
16 @@ -452,14 +452,14 @@ class Perms {
17 }
18
19 if (is_null($driver)) {
20 - $perms = &new Perms($params);
21 + $perms = new Perms($params);
22 } else {
23 $class = 'Perms_' . $driver;
24 if (!class_exists($class)) {
25 include 'Horde/Perms/' . $driver . '.php';
26 }
27 if (class_exists($class)) {
28 - $perms = &new $class($params);
29 + $perms = new $class($params);
30 } else {
31 $perms = false;
32 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed