From: Michael M Slusarz Date: Thu, 5 Mar 2009 04:04:57 +0000 (-0700) Subject: Registry constant renames X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11300e2608e00537c290a4185debb1050c0dac29;p=horde.git Registry constant renames --- diff --git a/imp/lib/base.php b/imp/lib/base.php index 729e3a886..7f5efe315 100644 --- a/imp/lib/base.php +++ b/imp/lib/base.php @@ -65,11 +65,11 @@ case 'netscape': break; case 'none': - $s_ctrl = HORDE_SESSION_NONE; + $s_ctrl = Registry::SESSION_NONE; break; case 'readonly': - $s_ctrl = HORDE_SESSION_READONLY; + $s_ctrl = Registry::SESSION_READONLY; break; } $registry = &Registry::singleton($s_ctrl); diff --git a/kronolith/lib/Imple/Embed.php b/kronolith/lib/Imple/Embed.php index bc888a05a..29939abe3 100644 --- a/kronolith/lib/Imple/Embed.php +++ b/kronolith/lib/Imple/Embed.php @@ -59,7 +59,7 @@ class Kronolith_Imple_Embed extends Kronolith_Imple { } /* Load the registry with no session control */ - $registry = &Registry::singleton(HORDE_SESSION_NONE); + $registry = &Registry::singleton(Registry::SESSION_NONE); /* Build the block parameters */ diff --git a/kronolith/lib/base.php b/kronolith/lib/base.php index f40a299c4..2e386da5f 100644 --- a/kronolith/lib/base.php +++ b/kronolith/lib/base.php @@ -35,9 +35,9 @@ Horde_Autoloader::addClassPattern('/^Kronolith_/', $kronolith_dir); /* Registry. */ $session_control = Util::nonInputVar('session_control'); if ($session_control == 'none') { - $registry = &Registry::singleton(HORDE_SESSION_NONE); + $registry = &Registry::singleton(Registry::SESSION_NONE); } elseif ($session_control == 'readonly') { - $registry = &Registry::singleton(HORDE_SESSION_READONLY); + $registry = &Registry::singleton(Registry::SESSION_READONLY); } else { $registry = &Registry::singleton(); }