]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ExtendedProfile/actions/profiledetailsettings.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / plugins / ExtendedProfile / actions / profiledetailsettings.php
index 016dad39ef33b97e3fd4a4f54f950972d68e590b..8d8a33ec4493e03b84541b8223e875971442a8bd 100644 (file)
@@ -620,7 +620,6 @@ class ProfileDetailSettingsAction extends ProfileSettingsAction
                 common_log_db_error($profile, 'UPDATE', __FILE__);
                 // TRANS: Server error thrown when user profile settings could not be saved.
                 $this->serverError(_m('Could not save profile.'));
-                return;
             }
 
             // Set the user tags
@@ -629,11 +628,9 @@ class ProfileDetailSettingsAction extends ProfileSettingsAction
             if (!$result) {
                 // TRANS: Server error thrown when user profile settings tags could not be saved.
                 $this->serverError(_m('Could not save tags.'));
-                return;
             }
 
             Event::handle('EndProfileSaveForm', array($this));
-            common_broadcast_profile($profile);
         }
     }