33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff -up horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Notification.php
 | |
| --- horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings	2010-11-23 01:22:36.000000000 +0100
 | |
| +++ horde-3.3.11/lib/Horde/Notification.php	2011-09-19 08:37:00.000000000 +0200
 | |
| @@ -61,7 +61,7 @@ class Notification {
 | |
|          static $notification = array();
 | |
|  
 | |
|          if (!isset($notification[$stack])) {
 | |
| -            $notification[$stack] = &new Notification($stack);
 | |
| +            $notification[$stack] = new Notification($stack);
 | |
|          }
 | |
|  
 | |
|          return $notification[$stack];
 | |
| diff -up horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Perms.php
 | |
| --- horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings	2010-11-23 01:22:36.000000000 +0100
 | |
| +++ horde-3.3.11/lib/Horde/Perms.php	2011-09-19 08:37:56.000000000 +0200
 | |
| @@ -452,14 +452,14 @@ class Perms {
 | |
|          }
 | |
|  
 | |
|          if (is_null($driver)) {
 | |
| -            $perms = &new Perms($params);
 | |
| +            $perms = new Perms($params);
 | |
|          } else {
 | |
|              $class = 'Perms_' . $driver;
 | |
|              if (!class_exists($class)) {
 | |
|                  include 'Horde/Perms/' . $driver . '.php';
 | |
|              }
 | |
|              if (class_exists($class)) {
 | |
| -                $perms = &new $class($params);
 | |
| +                $perms = new $class($params);
 | |
|              } else {
 | |
|                  $perms = false;
 | |
|              }
 | 
