]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
printv doesn't exist. Use echo to always print on errors.
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 20 Oct 2013 19:02:47 +0000 (21:02 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 20 Oct 2013 19:02:47 +0000 (21:02 +0200)
scripts/updateurls.php

index 266204dd9fd42f18ad411669ba257e5dd82c9b77..eb0706f22f24299657e579954784ee97aeddbce7 100644 (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();
             }
         }
     }