From 112979680ee31f983439f822c2e0bd149743e430 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 18 Nov 2010 11:07:47 +0100 Subject: [PATCH] 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. --- framework/Core/lib/Horde/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.11.0