From 8c8c6fe7207c47acf7dc3ee4395baab26d93f5f7 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 6 Nov 2021 09:59:40 -0400 Subject: [PATCH] Normalize quote style in mode/repair_ostatus --- mod/repair_ostatus.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php index edbd2e940a..9504a3fcf4 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'] = '';