From: Michael J. Rubinsky Date: Mon, 28 Sep 2009 16:53:22 +0000 (-0400) Subject: Remove listResources from Kronolth_Resource and refactor code to X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3a1be0cc067bd6ee61513e8afc4d10a005bd3cc8;p=horde.git Remove listResources from Kronolth_Resource and refactor code to use Kronolith_Driver_Resource::listResources instead. --- diff --git a/kronolith/resources/index.php b/kronolith/resources/index.php index 0d21a40eb..9c760435c 100644 --- a/kronolith/resources/index.php +++ b/kronolith/resources/index.php @@ -17,7 +17,7 @@ if (!Horde_Auth::getAuth()) { } $edit_url_base = Horde::applicationUrl('resources/edit.php'); $edit_img = Horde::img('edit.png', _("Edit"), null, $registry->getImageDir('horde')); -$resources = Kronolith_Resource::listResources(PERMS_READ, array('type' => 'Single')); +$resources = Kronolith::getDriver('Resource')->listResources(PERMS_READ, array('type' => 'Single')); $display_url_base = Horde::applicationUrl('month.php', true, -1); $delete_url_base = Horde::applicationUrl('resources/delete.php'); $delete_img = Horde::img('delete.png', _("Delete"), null, $registry->getImageDir('horde'));