From 3580f39611dd5b79a8ba7cb22b9a1913b4dee936 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 8 Apr 2010 20:30:11 +0200 Subject: [PATCH] Avoid &new. --- kronolith/lib/Driver/Kolab.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kronolith/lib/Driver/Kolab.php b/kronolith/lib/Driver/Kolab.php index 73a385870..cc0ce5f7d 100644 --- a/kronolith/lib/Driver/Kolab.php +++ b/kronolith/lib/Driver/Kolab.php @@ -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; -- 2.11.0