projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f8d47
)
Shout: Remove reference to lib/base.php
author
Ben Klang
<ben@alkaloid.net>
Fri, 8 Jan 2010 15:13:31 +0000
(10:13 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Fri, 8 Jan 2010 15:14:09 +0000
(10:14 -0500)
shout/lib/Application.php
patch
|
blob
|
history
diff --git
a/shout/lib/Application.php
b/shout/lib/Application.php
index
a7353e9
..
cd241d2
100644
(file)
--- a/
shout/lib/Application.php
+++ b/
shout/lib/Application.php
@@
-97,12
+97,14
@@
class Shout_Application extends Horde_Registry_Application
if (!empty($perms)) {
return $perms;
}
-
- require_once dirname(__FILE__) . '/base.php';
$perms['tree']['shout']['superadmin'] = false;
$perms['title']['shout:superadmin'] = _("Super Administrator");
+ if (empty($this->contexts)) {
+ $this->__construct(array('init' => true));
+ }
+
$contexts = $this->contexts->getContexts();
$perms['tree']['shout']['contexts'] = false;