]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/updateurls.php
printv doesn't exist. Use echo to always print on errors.
[quix0rs-gnu-social.git] / 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();
             }
         }
     }