fix incorrect function name in updateostatus.php script
This commit is contained in:
parent
b2a5e0d09b
commit
a507f04bc4
|
@ -44,14 +44,14 @@ try {
|
|||
if (empty($user)) {
|
||||
throw new Exception("Can't find user with id '$id'.");
|
||||
}
|
||||
updateProfileURL($user);
|
||||
updateOStatus($user);
|
||||
} else if (have_option('n', 'nickname')) {
|
||||
$nickname = get_option_value('n', 'nickname');
|
||||
$user = User::staticGet('nickname', $nickname);
|
||||
if (empty($user)) {
|
||||
throw new Exception("Can't find user with nickname '$nickname'");
|
||||
}
|
||||
updateProfileURL($user);
|
||||
updateOStatus($user);
|
||||
} else if (have_option('a', 'all')) {
|
||||
$user = new User();
|
||||
if ($user->find()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user