Avoid &new.
authorGunnar Wrobel <p@rdus.de>
Thu, 8 Apr 2010 18:30:11 +0000 (20:30 +0200)
committerGunnar Wrobel <p@rdus.de>
Thu, 8 Apr 2010 18:30:11 +0000 (20:30 +0200)
kronolith/lib/Driver/Kolab.php

index 73a3858..cc0ce5f 100644 (file)
@@ -230,10 +230,10 @@ class Kronolith_Driver_Kolab extends Kronolith_Driver
                                             'year' => 9999));
         }
         if (!is_a($startDate, 'Horde_Date')) {
-            $startDate = &new Horde_Date($startDate);
+            $startDate = new Horde_Date($startDate);
         }
         if (!is_a($endDate, 'Horde_Date')) {
-            $endDate = &new Horde_Date($endDate);
+            $endDate = new Horde_Date($endDate);
         }
 
         $startDate = clone $startDate;