From b42132298bcd8306f9f2456d2c7335c80bfdd407 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 29 Jul 2009 17:27:51 -0600 Subject: [PATCH] Remove unused code --- kronolith/lib/Kronolith.php | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 3500d8be3..ec64b4204 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -74,16 +74,6 @@ class Kronolith Horde::addScriptFile('horde.js', 'horde', true); Horde::addScriptFile('dragdrop2.js', 'horde', true); Horde::addScriptFile('Growler.js', 'horde', true); - - // ContextSensitive must be loaded first. - while (list($key, $val) = each($scripts)) { - if (($val[0] == 'ContextSensitive.js') && - ($val[1] == 'kronolith')) { - Horde::addScriptFile($val[0], $val[1], $val[2]); - unset($scripts[$key]); - break; - } - } Horde::addScriptFile('kronolith.js', 'kronolith', true); // Add other scripts now @@ -227,25 +217,6 @@ class Kronolith } /** - * Creates a URL for cached Kronolith data. - * - * @param string $type The cache type. - * @param string $cid The cache id. - * - * @return string The URL to the cache page. - */ - public static function getCacheURL($type, $cid) - { - $parts = array( - $GLOBALS['registry']->get('webroot'), - 'cache.php', - $type, - $cid - ); - return Horde::url(implode('/', $parts)); - } - - /** * Returns all the alarms active on a specific date. * * @param Horde_Date $date The date to check for alarms. -- 2.11.0