From cca9cd66a2b726d0823dbe00b6ae1150f29652bc Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 10 Sep 2009 10:26:20 -0400 Subject: [PATCH] Add basic permission checking to Kronolith::listResources() --- kronolith/lib/Kronolith.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index c8413e404..5de3a6894 100644 --- 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); - } - } - } -- 2.11.0