From 32fa6dd7a22a09ecef7be3056e10f912cc25c91b Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Sat, 27 Aug 2011 12:42:09 -0700 Subject: [PATCH] Fix logging level in log msg --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index 93340f021d..7289a17b69 100644 --- a/classes/User.php +++ b/classes/User.php @@ -981,7 +981,7 @@ class User extends Managed_DataObject return $user->nickname; } catch (Exception $e) { if (common_config('singleuser', 'enabled') && common_config('singleuser', 'nickname')) { - common_log(LOG_WARN, "Warning: code attempting to pull single-user nickname when the account does not exist. If this is not setup time, this is probably a bug."); + common_log(LOG_WARNING, "Warning: code attempting to pull single-user nickname when the account does not exist. If this is not setup time, this is probably a bug."); return common_config('singleuser', 'nickname'); } throw $e; -- 2.39.5