From 53b8412aaea16a6642ba6298c455f8550f70ebf6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 20 Oct 2013 21:02:47 +0200 Subject: [PATCH] printv doesn't exist. Use echo to always print on errors. --- scripts/updateurls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/updateurls.php b/scripts/updateurls.php index 266204dd9f..eb0706f22f 100644 --- a/scripts/updateurls.php +++ b/scripts/updateurls.php @@ -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(); } } }