From dd56416a39b4ddf1ee550b9e5912bcbe3dc88ad8 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 2 Jul 2012 14:23:13 -0400 Subject: Remove the method getItemsSharedStatuses, it is easy enough to just pass the format instead --- core/ajax/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ajax') diff --git a/core/ajax/share.php b/core/ajax/share.php index c9bee6a7ed8..b1b619e6220 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -44,7 +44,7 @@ if (isset($_POST['action'])) { } else if (isset($_GET['fetch'])) { switch ($_GET['fetch']) { case 'getItemsSharedStatuses': - $return = OCP\Share::getItemsSharedStatuses($_GET['itemType']); + $return = OCP\Share::getItemsShared($_GET['itemType'], OCP\Share::FORMAT_STATUSES); ($return) ? OC_JSON::success(array('data' => $return)) : OC_JSON::error(); break; case 'getItemShared': -- cgit v1.2.3