summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-05-04 09:13:26 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-05-04 09:13:26 +0200
commit4de45b5e610a3e09d8945deae2464efbffa478d9 (patch)
tree50e8fc5a43f0ad3cbc6dc4a033504411334a609a /core
parent7fa308977b737c195a78e984a79af752c33ca013 (diff)
parentfbba7a61cb00229128c722cef8d0248b04d00299 (diff)
downloadnextcloud-server-4de45b5e610a3e09d8945deae2464efbffa478d9.tar.gz
nextcloud-server-4de45b5e610a3e09d8945deae2464efbffa478d9.zip
Merge pull request #15958 from owncloud/usage-of-public-log-interface
Use internally \OCP\ILogger instead of \OC\Log
Diffstat (limited to 'core')
-rw-r--r--core/ajax/share.php2
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));
}