From 1edf01d09f12843528be3137d6b6595edb9e0ec4 Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Fri, 28 Jun 2013 11:15:08 +0200
Subject: [PATCH] Fix usage of non existent consts

---
 lib/log.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/log.php b/lib/log.php
index 8c157d003c..e0b9fe3c69 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);
 	}
 
 	/**
-- 
GitLab