From 3a1be0cc067bd6ee61513e8afc4d10a005bd3cc8 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 28 Sep 2009 12:53:22 -0400 Subject: [PATCH] Remove listResources from Kronolth_Resource and refactor code to use Kronolith_Driver_Resource::listResources instead. --- kronolith/resources/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); -- 2.11.0