Fix usage of non existent consts

This commit is contained in:
Bart Visscher 2013-06-28 11:15:08 +02:00
parent de93b21505
commit 1edf01d09f
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
/**