summaryrefslogtreecommitdiffstats
path: root/lib/private/log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/log.php')
-rw-r--r--lib/private/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log.php b/lib/private/log.php
index 98465ec40ea..021cc1578a7 100644
--- a/lib/private/log.php
+++ b/lib/private/log.php
@@ -154,6 +154,6 @@ class Log implements ILogger {
$message = strtr($message, $replace);
$logger = $this->logger;
- $logger::write($app, $message, $level);
+ call_user_func(array($logger, 'write'), $app, $message, $level);
}
}