aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/NaturalSort.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/NaturalSort.php')
-rw-r--r--lib/private/NaturalSort.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/NaturalSort.php b/lib/private/NaturalSort.php
index 636e5cd0219..470e720c54c 100644
--- a/lib/private/NaturalSort.php
+++ b/lib/private/NaturalSort.php
@@ -27,6 +27,8 @@
namespace OC;
+use OCP\ILogger;
+
class NaturalSort {
private static $instance;
private $collator;
@@ -41,7 +43,7 @@ class NaturalSort {
// or inject an instance of \OC\NaturalSort_DefaultCollator to force using Owncloud's default collator
if (isset($injectedCollator)) {
$this->collator = $injectedCollator;
- \OCP\Util::writeLog('core', 'forced use of '.get_class($injectedCollator), \OCP\Util::DEBUG);
+ \OCP\Util::writeLog('core', 'forced use of '.get_class($injectedCollator), ILogger::DEBUG);
}
}