X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=b8f6fc52324dd67d7996fa5ec6c79963c361b9d6;hb=a54fea313ff93b43ae0c691df2a8cf9c8c363006;hp=ea83b08adf6256db6e3c48569c8b0c4424181056;hpb=a0530d1066d7268f1b1ea67bc3c254e9f9fc5ec8;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'] = '';