summaryrefslogtreecommitdiffstats
path: root/lib/private/cache/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/cache/file.php')
-rw-r--r--lib/private/cache/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/cache/file.php b/lib/private/cache/file.php
index 69008c7fab5..a433b84d7bf 100644
--- a/lib/private/cache/file.php
+++ b/lib/private/cache/file.php
@@ -54,7 +54,7 @@ class File implements ICache {
$this->storage = new View('/' . $user->getUID() . '/cache');
return $this->storage;
} else {
- \OC_Log::write('core', 'Can\'t get cache storage, user not logged in', \OC_Log::ERROR);
+ \OCP\Util::writeLog('core', 'Can\'t get cache storage, user not logged in', \OCP\Util::ERROR);
throw new \OC\ForbiddenException('Can\t get cache storage, user not logged in');
}
}