diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-30 11:52:30 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-30 11:52:30 +0200 |
commit | fbba7a61cb00229128c722cef8d0248b04d00299 (patch) | |
tree | 7d22505e87d933478e1ce48bf41c672fa728535f /core | |
parent | ae853445ef258b960174171bd9624986de33e24d (diff) | |
download | nextcloud-server-fbba7a61cb00229128c722cef8d0248b04d00299.tar.gz nextcloud-server-fbba7a61cb00229128c722cef8d0248b04d00299.zip |
Use internally \OCP\ILogger instead of \OC\Log
* this is the preparation for some upcoming logger related changes
* also fixes an issue in the public interface where we request
an internal class as parameter
Diffstat (limited to 'core')
-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)); } |