From 4d97125e7a28f2bf0b9e20f80f07e06caf23f113 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 2 Jul 2010 19:33:09 +0200 Subject: [PATCH] Style --- turba/lib/Object.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/turba/lib/Object.php b/turba/lib/Object.php index 58590a133..f0968270c 100644 --- a/turba/lib/Object.php +++ b/turba/lib/Object.php @@ -70,7 +70,7 @@ class Turba_Object { */ function getGuid($delimiter = ':') { - return 'turba' . $delimiter . $this->driver->getName() . $delimiter . $this->getValue('__uid'); + return 'turba' . $delimiter . $this->getSource() . $delimiter . $this->getValue('__uid'); } /** @@ -201,7 +201,9 @@ class Turba_Object { $history = array(); try { - $log = $GLOBALS['injector']->getInstance('Horde_History')->getHistory($this->getGuid()); + $log = $GLOBALS['injector'] + ->getInstance('Horde_History') + ->getHistory($this->getGuid()); foreach ($log as $entry) { switch ($entry['action']) { case 'add': -- 2.11.0