diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-05 17:05:56 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-11 10:50:03 +0100 |
commit | af781bdea7509c3ecd9a7b4902fb7a266dc62c80 (patch) | |
tree | a96d0d290974278e4d97aa56919d45997f9d86a9 /core/ajax | |
parent | 32afdcbefec5793fb28162c456919d2b0be5cfe9 (diff) | |
download | nextcloud-server-af781bdea7509c3ecd9a7b4902fb7a266dc62c80.tar.gz nextcloud-server-af781bdea7509c3ecd9a7b4902fb7a266dc62c80.zip |
fix DI
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 21e320a4732..c251f8e7bae 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -355,7 +355,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo } } $sorter = new \OC\Share\SearchResultSorter($_GET['search'], - 'label'); + 'label', + new \OC\Log()); usort($shareWith, array($sorter, 'sort')); OC_JSON::success(array('data' => $shareWith)); } |