Diogo Cordeiro
2020-07-05 02:25:51 +01:00
parent 4d171b27a4
commit 2f284f4274
4 changed files with 85 additions and 58 deletions

View File

@@ -97,7 +97,11 @@ while ($user->fetch()) {
$res = Activitypub_explorer::get_remote_user_activity($user->uri);
$updated_profile = Activitypub_profile::update_profile($user, $res);
if (!$quiet) {
echo "Updated ".$updated_profile->getBestName()."\n";
echo 'Updated '.$updated_profile->getBestName()."\n";
}
} catch (NoProfileException $e) {
if (!$quiet) {
echo 'Deleted '.$user->uri."\n";
}
} catch (Exception $e) {
// let it go