updateKeys -> updateWithKeys (w/ functionality)

This commit is contained in:
Mikael Nordfeldth
2015-01-25 12:07:26 +01:00
parent e38d78eba9
commit 4917a422a1
9 changed files with 17 additions and 14 deletions

View File

@@ -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) {

View File

@@ -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.");
}