summaryrefslogtreecommitdiffstats
path: root/lib/private/hook.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-03 14:06:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-07-03 18:00:16 +0200
commitd3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (patch)
tree6517676c49da188ae4ee832245236fe0e1e25cf3 /lib/private/hook.php
parent68fd74963eda73fe0e3173cde495c284ea1fd8f4 (diff)
downloadnextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.tar.gz
nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.zip
Remove OC_Log
Diffstat (limited to 'lib/private/hook.php')
-rw-r--r--lib/private/hook.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/hook.php b/lib/private/hook.php
index 188c3d65acb..faf5495b646 100644
--- a/lib/private/hook.php
+++ b/lib/private/hook.php
@@ -111,9 +111,9 @@ class OC_Hook{
if (empty($message)) {
$message = get_class($e);
}
- OC_Log::write('hook',
+ \OCP\Util::writeLog('hook',
'error while running hook (' . $class . '::' . $i["name"] . '): ' . $message,
- OC_Log::ERROR);
+ \OCP\Util::ERROR);
if($e instanceof \OC\ServerNotAvailableException) {
throw $e;
}