1 |
slords |
1.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 |
|
|
} |