summaryrefslogtreecommitdiffstats
path: root/lib/hook.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hook.php')
-rw-r--r--lib/hook.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/hook.php b/lib/hook.php
index 1f450e7dcac..554381251d6 100644
--- a/lib/hook.php
+++ b/lib/hook.php
@@ -71,7 +71,9 @@ class OC_Hook{
try {
call_user_func( array( $i["class"], $i["name"] ), $params );
} catch (Exception $e){
- OC_Log::write('hook', 'error while running hook (' . $i["class"] . '::' . $i["name"] . '): '.$e->getMessage(), OC_Log::ERROR);
+ OC_Log::write('hook',
+ 'error while running hook (' . $i["class"] . '::' . $i["name"] . '): '.$e->getMessage(),
+ OC_Log::ERROR);
}
}