END_OF_UPDATEURLS_HELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
function main()
{
updateProfileUrl($profile);
updateAvatarUrls($profile);
-
- // Broadcast for remote users
-
- common_broadcast_profile($profile);
-
} catch (Exception $e) {
- printv("Error updating URLs: " . $e->getMessage());
+ echo "Error updating URLs: " . $e->getMessage();
}
printfv("DONE.");
}
$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();
}
}
}