projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f50c04
)
I don't see a reason why the ctor has to be protected. Sometimes we really just
author
Jan Schneider
<jan@horde.org>
Thu, 18 Nov 2010 10:07:47 +0000
(11:07 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 18 Nov 2010 10:09:43 +0000
(11:09 +0100)
need a registry object, not a complete application environment.
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
935e987
..
c2e0659
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-250,7
+250,7
@@
class Horde_Registry
*
* @throws Horde_Exception
*/
- p
rotected function __construct($session_flags, $cache_limiter
)
+ p
ublic function __construct($session_flags = 0, $cache_limiter = null
)
{
/* Define autoloader callbacks. */
$callbacks = array(