From: Ben Klang Date: Sun, 3 Oct 2010 15:32:26 +0000 (-0400) Subject: Rebuild factory for Horde_Secret X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b65a562721b27cca352d8ffb18f01ea847ca53e4;p=horde.git Rebuild factory for Horde_Secret --- diff --git a/framework/Core/lib/Horde/Core/Binder/Secret.php b/framework/Core/lib/Horde/Core/Binder/Secret.php deleted file mode 100644 index 19e4e21c7..000000000 --- a/framework/Core/lib/Horde/Core/Binder/Secret.php +++ /dev/null @@ -1,25 +0,0 @@ - $conf['cookie']['domain'], - 'cookie_expire' => $conf['session']['timeout'], - 'cookie_path' => $conf['cookie']['path'], - 'cookie_ssl' => $conf['use_ssl'] == 1, - 'session_name' => $conf['session']['name'] - )); - } - - public function equals(Horde_Injector_Binder $binder) - { - return false; - } -} diff --git a/framework/Core/lib/Horde/Core/Factory/Secret.php b/framework/Core/lib/Horde/Core/Factory/Secret.php new file mode 100644 index 000000000..0b506408b --- /dev/null +++ b/framework/Core/lib/Horde/Core/Factory/Secret.php @@ -0,0 +1,20 @@ + $conf['cookie']['domain'], + 'cookie_expire' => $conf['session']['timeout'], + 'cookie_path' => $conf['cookie']['path'], + 'cookie_ssl' => $conf['use_ssl'] == 1, + 'session_name' => $conf['session']['name'] + )); + } +} diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index b46fa833e..7eb141848 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -281,7 +281,6 @@ class Horde_Registry 'Horde_Mime_Viewer' => new Horde_Core_Binder_MimeViewer(), 'Horde_Notification' => new Horde_Core_Binder_Notification(), 'Horde_Prefs_Identity' => new Horde_Core_Binder_Identity(), - 'Horde_Secret' => new Horde_Core_Binder_Secret(), 'Horde_SessionHandler' => new Horde_Core_Binder_SessionHandler(), 'Horde_Share_Factory' => new Horde_Core_Binder_ShareFactory(), 'Horde_Template' => new Horde_Core_Binder_Template(), @@ -337,6 +336,10 @@ class Horde_Registry 'Horde_Core_Factory_Perms', 'create', ), + 'Horde_Secret' => array( + 'Horde_Core_Factory_Secret', + 'create', + ), 'Horde_Service_Twitter' => array( 'Horde_Core_Factory_Twitter', 'create', diff --git a/framework/Core/package.xml b/framework/Core/package.xml index b77ae0a27..dd6bae5c9 100644 --- a/framework/Core/package.xml +++ b/framework/Core/package.xml @@ -24,7 +24,7 @@ Application Framework. yes 2010-10-03 - + 0.1.0 0.1.0 @@ -130,7 +130,6 @@ Application Framework. - @@ -170,6 +169,7 @@ Application Framework. + @@ -450,7 +450,6 @@ Application Framework. - @@ -486,6 +485,7 @@ Application Framework. +