aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/preview/office.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-03 20:45:02 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-03 20:45:02 +0200
commit7959605e4e389ee26705094656f636f23b9cfb8d (patch)
treef16ec80ebaf382629cdadef773c1dcb8d8e6d9e2 /lib/private/preview/office.php
parent3df27a01bea923237cfa9db0c2238e0fb022c06b (diff)
parent43ebf0d1272de80007d016aacd8dcdefc318b78d (diff)
downloadnextcloud-server-7959605e4e389ee26705094656f636f23b9cfb8d.tar.gz
nextcloud-server-7959605e4e389ee26705094656f636f23b9cfb8d.zip
Merge pull request #17378 from owncloud/kill-more-legacy-classes
Kill more legacy classes
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;
}