We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 13ad48fa authored by Evan Prodromou's avatar Evan Prodromou

Merge branch 'master' into testing

parents 2f65fa64 5a6967db
...@@ -285,6 +285,10 @@ class ProfilesettingsAction extends AccountSettingsAction ...@@ -285,6 +285,10 @@ class ProfilesettingsAction extends AccountSettingsAction
} else { } else {
// Re-initialize language environment if it changed // Re-initialize language environment if it changed
common_init_language(); common_init_language();
// Clear the site owner, in case nickname changed
if ($user->hasRole(Profile_role::OWNER)) {
User::blow('user:site_owner');
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment