diff options
Diffstat (limited to 'core/ajax/share.php')
-rw-r--r-- | core/ajax/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index d9bf97d6464..a0db77fd1f9 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -354,7 +354,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo $sorter = new \OC\Share\SearchResultSorter((string)$_GET['search'], 'label', - new \OC\Log()); + \OC::$server->getLogger()); usort($shareWith, array($sorter, 'sort')); OC_JSON::success(array('data' => $shareWith)); } |