forked from GNUsocial/gnu-social
what exactly are we updating
darcs-hash:20080615152047-84dde-eca46b9a1e3e0adb81a29d1b43bf87ee93e4f535.gz
This commit is contained in:
parent
4493433611
commit
1a591681b0
@ -112,7 +112,9 @@ class ProfilesettingsAction extends SettingsAction {
|
||||
$user->nickname = $nickname;
|
||||
$user->email = $email;
|
||||
|
||||
if (!$user->update($original)) {
|
||||
common_debug('Updating, nickname ="'.$user->nickname.'" and email ="'.$user->email.'"');
|
||||
|
||||
if (FALSE === $user->update($original)) {
|
||||
common_server_error(_t('Couldnt update user.'));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user