forked from GNUsocial/gnu-social
updateKeys -> updateWithKeys (w/ functionality)
This commit is contained in:
@@ -75,7 +75,7 @@ function clear_jabber($id)
|
||||
} else {
|
||||
$original = clone($user);
|
||||
$user->jabber = null;
|
||||
$result = $user->updateKeys($original);
|
||||
$result = $user->updateWithKeys($original);
|
||||
}
|
||||
echo "\n";
|
||||
} else if (!$user) {
|
||||
|
@@ -69,7 +69,7 @@ try {
|
||||
|
||||
$user->email = $email;
|
||||
|
||||
if (!$user->updateKeys($orig)) {
|
||||
if (!$user->updateWithKeys($orig)) {
|
||||
print "Failed!\n";
|
||||
throw new Exception("Can't update email address.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user