From 6a549a7c15305f6a16cedb06f3d42e94a4731e02 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Mon, 13 Jul 2009 10:21:39 -0400 Subject: [PATCH] Auth:: -> Horde_Auth:: --- kronolith/lib/Kronolith.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 49af4c881..710bbc8de 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -1117,7 +1117,7 @@ class Kronolith $share = &$GLOBALS['kronolith_shares']->newShare(Horde_Auth::getAuth()); $share->set('name', sprintf(_("%s's Calendar"), $name)); $GLOBALS['kronolith_shares']->addShare($share); - $GLOBALS['all_calendars'][Auth::getAuth()] = &$share; + $GLOBALS['all_calendars'][Horde_Auth::getAuth()] = &$share; /* Make sure the personal calendar is displayed by default. */ if (!in_array(Horde_Auth::getAuth(), $GLOBALS['display_calendars'])) { @@ -1450,8 +1450,8 @@ class Kronolith if (isset($calendars[$default_share]) || $prefs->isLocked('default_share')) { return $default_share; - } elseif (isset($GLOBALS['all_calendars'][Auth::getAuth()]) && - $GLOBALS['all_calendars'][Auth::getAuth()]->hasPermission(Horde_Auth::getAuth(), $permission)) { + } elseif (isset($GLOBALS['all_calendars'][Horde_Auth::getAuth()]) && + $GLOBALS['all_calendars'][Horde_Auth::getAuth()]->hasPermission(Horde_Auth::getAuth(), $permission)) { return Horde_Auth::getAuth(); } elseif (count($calendars)) { return key($calendars); -- 2.11.0