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

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

"; $uid = local_user(); @@ -29,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"]; @@ -43,17 +45,17 @@ 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'] = ''; + $a->page['htmlhead'] = ''; return $o; }