X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=b8f6fc52324dd67d7996fa5ec6c79963c361b9d6;hb=5b4fb945a2f8e950d3f3da8ae1fc8127ff887568;hp=7a454a4ae0be733e3f3736890f72a1a188b6b5fa;hpb=e1f366164509fc8217f9d0cf21d7475f6d71b73a;p=friendica.git diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php old mode 100755 new mode 100644 index 7a454a4ae0..b8f6fc5232 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -1,17 +1,21 @@ ".t("Resubscribing to OStatus contacts").""; + $o = "

".L10n::t("Resubscribing to OStatus contacts")."

"; $uid = local_user(); @@ -27,7 +31,7 @@ function repair_ostatus_content(&$a) { intval(CONTACT_IS_SHARING)); if (!$r) - return($o.t("Error")); + return($o.L10n::t("Error")); $total = $r[0]["total"]; @@ -41,17 +45,17 @@ function repair_ostatus_content(&$a) { intval(CONTACT_IS_SHARING), $counter++); if (!$r) { - $o .= t("Done"); + $o .= L10n::t("Done"); return $o; } $o .= "

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

"; - $o .= "

".t("Keep this window open until done.")."

"; + $o .= "

".L10n::t("Keep this window open until done.")."

"; - $result = new_contact($uid,$r[0]["url"],true); + $result = Contact::createFromProbe($uid, $r[0]["url"], true); - $a->page['htmlhead'] = ''; + $a->page['htmlhead'] = ''; return $o; }