X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=b2ca6121853fea1f2e59aee1015da20cc3055f4f;hb=417b0072bb2c106dead4edc77299e72d4c436230;hp=edbd2e940acbc57d779158975db98608a12b69cb;hpb=6668591afecb314a59105b06a1712643f1616636;p=friendica.git diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php index edbd2e940a..b2ca612185 100644 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -1,6 +1,6 @@ " . 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'] = '';