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 /lib/private/share | |
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 'lib/private/share')
-rw-r--r-- | lib/private/share/searchresultsorter.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/share/searchresultsorter.php b/lib/private/share/searchresultsorter.php index 375e05d0bba..bde2fd05073 100644 --- a/lib/private/share/searchresultsorter.php +++ b/lib/private/share/searchresultsorter.php @@ -23,6 +23,8 @@ */ namespace OC\Share; +use OCP\ILogger; + class SearchResultSorter { private $search; private $encoding; @@ -34,9 +36,9 @@ class SearchResultSorter { * @param string $key the array key containing the value that should be compared * against * @param string $encoding optional, encoding to use, defaults to UTF-8 - * @param \OC\Log $log optional + * @param ILogger $log optional */ - public function __construct($search, $key, \OC\Log $log = null, $encoding = 'UTF-8') { + public function __construct($search, $key, ILogger $log = null, $encoding = 'UTF-8') { $this->encoding = $encoding; $this->key = $key; $this->log = $log; |