aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
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 /apps/files_sharing/ajax
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 'apps/files_sharing/ajax')
-rw-r--r--apps/files_sharing/ajax/publicpreview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/publicpreview.php b/apps/files_sharing/ajax/publicpreview.php
index 99a5bdaa859..6ddd4786c2a 100644
--- a/apps/files_sharing/ajax/publicpreview.php
+++ b/apps/files_sharing/ajax/publicpreview.php
@@ -66,7 +66,7 @@ $path = $view->getPath($pathId);
if($path === null) {
\OC_Response::setStatus(\OC_Response::STATUS_NOT_FOUND);
- \OC_Log::write('core-preview', 'Could not resolve file for shared item', OC_Log::WARN);
+ \OCP\Util::writeLog('core-preview', 'Could not resolve file for shared item', \OCP\Util::WARN);
exit;
}