From: Jan Schneider Date: Thu, 18 Nov 2010 10:07:47 +0000 (+0100) Subject: I don't see a reason why the ctor has to be protected. Sometimes we really just X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=112979680ee31f983439f822c2e0bd149743e430;p=horde.git I don't see a reason why the ctor has to be protected. Sometimes we really just need a registry object, not a complete application environment. --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 935e9874c..c2e0659f7 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -250,7 +250,7 @@ class Horde_Registry * * @throws Horde_Exception */ - protected function __construct($session_flags, $cache_limiter) + public function __construct($session_flags = 0, $cache_limiter = null) { /* Define autoloader callbacks. */ $callbacks = array(