diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php index edbd2e940..9504a3fcf 100644 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -33,7 +33,7 @@ function repair_ostatus_content(App $a) { // NOTREACHED } - $o = "

" . DI::l10n()->t("Resubscribing to OStatus contacts") . "

"; + $o = '

' . DI::l10n()->t('Resubscribing to OStatus contacts') . '

'; $uid = local_user(); @@ -43,20 +43,20 @@ function repair_ostatus_content(App $a) { $total = DBA::count('contact', $condition); if (!$total) { - return ($o . DI::l10n()->t("Error")); + return ($o . DI::l10n()->t('Error')); } $contact = Contact::selectToArray(['url'], $condition, ['order' => ['url'], 'limit' => [$counter++, 1]]); if (!DBA::isResult($contact)) { - $o .= DI::l10n()->t("Done"); + $o .= DI::l10n()->t('Done'); return $o; } - $o .= "

" . $counter . "/" . $total . ": " . $contact[0]["url"] . "

"; + $o .= '

' . $counter . '/' . $total . ': ' . $contact[0]['url'] . '

'; - $o .= "

" . DI::l10n()->t("Keep this window open until done.") . "

"; + $o .= '

' . DI::l10n()->t('Keep this window open until done.') . '

'; - Contact::createFromProbeForUser($a->getLoggedInUserId(), $contact[0]["url"]); + Contact::createFromProbeForUser($a->getLoggedInUserId(), $contact[0]['url']); DI::page()['htmlhead'] = '';