projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8487abd
)
Add basic permission checking to Kronolith::listResources()
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 10 Sep 2009 14:26:20 +0000
(10:26 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:59 +0000
(16:53 -0400)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
c8413e4
..
5de3a68
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-2064,16
+2064,4
@@
class Kronolith
}
}
-
- static public function getInternalCalendar($target)
- {
- if (self::isResourceCalendar($target)) {
- $driver = self::getDriver('Resource');
- $id = $driver->getResourceIdByCalendar($target);
- return $driver->getResource($id);
- } else {
- return $GLOBALS['kronolith_shares']->getShare($target);
- }
- }
-
}