fix incorrect function name in updateostatus.php script

This commit is contained in:
Evan Prodromou 2010-08-25 12:32:10 -04:00
parent b2a5e0d09b
commit a507f04bc4

View File

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