Fix logging level in log msg

This commit is contained in:
Zach Copley 2011-08-27 12:42:09 -07:00
parent a14224d687
commit 32fa6dd7a2
1 changed files with 1 additions and 1 deletions

View File

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