summaryrefslogtreecommitdiffstats
path: root/lib/log.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-06-28 11:15:08 +0200
committerBart Visscher <bartv@thisnet.nl>2013-06-28 11:15:25 +0200
commit1edf01d09f12843528be3137d6b6595edb9e0ec4 (patch)
tree2d8f876780326c4ebce7de581600912db346418a /lib/log.php
parentde93b21505e1281c529cc2d1dc350b62bb387cca (diff)
downloadnextcloud-server-1edf01d09f12843528be3137d6b6595edb9e0ec4.tar.gz
nextcloud-server-1edf01d09f12843528be3137d6b6595edb9e0ec4.zip
Fix usage of non existent consts
Diffstat (limited to 'lib/log.php')
-rw-r--r--lib/log.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/log.php b/lib/log.php
index 8c157d003cf..e0b9fe3c696 100644
--- a/lib/log.php
+++ b/lib/log.php
@@ -41,7 +41,7 @@ class Log {
* @param array $context
*/
public function alert($message, array $context = array()) {
- $this->log(self::ALERT, $message, $context);
+ $this->log(\OC_Log::ERROR, $message, $context);
}
/**
@@ -53,7 +53,7 @@ class Log {
* @param array $context
*/
public function critical($message, array $context = array()) {
- $this->log(self::CRITICAL, $message, $context);
+ $this->log(\OC_Log::ERROR, $message, $context);
}
/**
@@ -87,7 +87,7 @@ class Log {
* @param array $context
*/
public function notice($message, array $context = array()) {
- $this->log(self::NOTICE, $message, $context);
+ $this->log(\OC_Log::INFO, $message, $context);
}
/**