Merge branch 'master' into testing
This commit is contained in:
commit
13ad48fab3
@ -285,6 +285,10 @@ class ProfilesettingsAction extends AccountSettingsAction
|
||||
} else {
|
||||
// Re-initialize language environment if it changed
|
||||
common_init_language();
|
||||
// Clear the site owner, in case nickname changed
|
||||
if ($user->hasRole(Profile_role::OWNER)) {
|
||||
User::blow('user:site_owner');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user