diff options
author | Sarven Capadisli <csarven@status.net> | 2010-02-22 17:08:54 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-02-22 17:08:54 +0100 |
commit | c88507fe110ff4e14c9d605de385dc0218968e81 (patch) | |
tree | 9a28baddb98db908ae74af95342b4caf8ca7de31 /actions | |
parent | 3569493ba7e77a1a9f19bdbbf3f2d5f262ea8484 (diff) | |
parent | 13ad48fab3b64e9c8376761b55caa1e19a49934b (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'actions')
-rw-r--r-- | actions/profilesettings.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 0d6777879..161e35b11 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -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'); + } } } |