printv doesn't exist. Use echo to always print on errors.

This commit is contained in:
Mikael Nordfeldth 2013-10-20 21:02:47 +02:00
parent a8804010c4
commit 53b8412aae

View File

@ -58,7 +58,7 @@ function updateUserUrls()
common_broadcast_profile($profile);
} catch (Exception $e) {
printv("Error updating URLs: " . $e->getMessage());
echo "Error updating URLs: " . $e->getMessage();
}
printfv("DONE.");
}
@ -129,7 +129,7 @@ function updateGroupUrls()
$group->update($orig);
printfv("DONE.");
} catch (Exception $e) {
printv("Can't update avatars for group " . $group->nickname . ": ". $e->getMessage());
echo "Can't update avatars for group " . $group->nickname . ": ". $e->getMessage();
}
}
}