aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/preview/office.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/office.php')
-rw-r--r--lib/private/preview/office.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/office.php b/lib/private/preview/office.php
index f72c5def35f..30398147aa6 100644
--- a/lib/private/preview/office.php
+++ b/lib/private/preview/office.php
@@ -56,7 +56,7 @@ abstract class Office extends Provider {
} catch (\Exception $e) {
unlink($absPath);
unlink($pdfPreview);
- \OC_Log::write('core', $e->getmessage(), \OC_Log::ERROR);
+ \OCP\Util::writeLog('core', $e->getmessage(), \OCP\Util::ERROR);
return false;
}