summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/files.php')
-rw-r--r--lib/private/legacy/files.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/files.php b/lib/private/legacy/files.php
index 9281c1f7da4..00cd5fbfe51 100644
--- a/lib/private/legacy/files.php
+++ b/lib/private/legacy/files.php
@@ -41,6 +41,7 @@
use OC\Files\View;
use OC\Streamer;
+use OCP\ILogger;
use OCP\Lock\ILockingProvider;
/**
@@ -422,7 +423,7 @@ class OC_Files {
if (!$handle) {
\OCP\Util::writeLog('files',
'Can\'t write upload limit to ' . $filename . '. Please check the file permissions',
- \OCP\Util::WARN);
+ ILogger::WARN);
$success = false;
continue; // try to update as many files as possible
}