summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/openid.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/openid.php b/lib/openid.php
index 9adf8e9f7..8cf614bc2 100644
--- a/lib/openid.php
+++ b/lib/openid.php
@@ -218,7 +218,7 @@ function oid_update_user(&$user, &$sreg) {
if (!$profile->update($orig_profile)) {
common_server_error(_t('Error saving the profile.'));
- return;
+ return false;
}
$orig_user = clone($user);
@@ -229,6 +229,8 @@ function oid_update_user(&$user, &$sreg) {
if (!$user->update($orig_user)) {
common_server_error(_t('Error saving the user.'));
- return;
+ return false;
}
+
+ return true;
}