forked from GNUsocial/gnu-social
Fix logging level in log msg
This commit is contained in:
parent
a14224d687
commit
32fa6dd7a2
@ -981,7 +981,7 @@ class User extends Managed_DataObject
|
|||||||
return $user->nickname;
|
return $user->nickname;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
if (common_config('singleuser', 'enabled') && common_config('singleuser', 'nickname')) {
|
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');
|
return common_config('singleuser', 'nickname');
|
||||||
}
|
}
|
||||||
throw $e;
|
throw $e;
|
||||||
|
Loading…
Reference in New Issue
Block a user