Pārlūkot izejas kodu

Fix usage of non existent consts

tags/v6.0.0alpha2
Bart Visscher pirms 11 gadiem
vecāks
revīzija
1edf01d09f
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      lib/log.php

+ 3
- 3
lib/log.php Parādīt failu

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

/**

Notiek ielāde…
Atcelt
Saglabāt