X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=b8f6fc52324dd67d7996fa5ec6c79963c361b9d6;hb=0e8fa341561c7fafb962564d4d46988298b84671;hp=ea83b08adf6256db6e3c48569c8b0c4424181056;hpb=94f6f12ba3a5c1d506255803e709cb640147ebf4;p=friendica.git diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php old mode 100755 new mode 100644 index ea83b08adf..b8f6fc5232 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -1,20 +1,21 @@ ".t("Resubscribing to OStatus contacts").""; + $o = "

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

"; $uid = local_user(); @@ -30,7 +31,7 @@ function repair_ostatus_content(App $a) { intval(CONTACT_IS_SHARING)); if (!$r) - return($o.t("Error")); + return($o.L10n::t("Error")); $total = $r[0]["total"]; @@ -44,15 +45,15 @@ function repair_ostatus_content(App $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'] = '';