]> git.mxchange.org Git - friendica.git/blobdiff - mod/repair_ostatus.php
the Quattro admin_user template was missing the users note for the admin
[friendica.git] / mod / repair_ostatus.php
index 06e34a63e0ece12747c03825b0a601b442206710..3e9130e0e8e42a233b5bd5090a383adc3ff599ff 100755 (executable)
@@ -3,15 +3,15 @@
 require_once('include/Scrape.php');
 require_once('include/follow.php');
 
-function repair_ostatus_content(&$a) {
+function repair_ostatus_content(App $a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                goaway($_SESSION['return_url']);
                // NOTREACHED
        }
 
-       $o = "<h2>".t("Resubsribing to OStatus contacts")."</h2>";
+       $o = "<h2>".t("Resubscribing to OStatus contacts")."</h2>";
 
        $uid = local_user();
 
@@ -51,7 +51,7 @@ function repair_ostatus_content(&$a) {
 
        $result = new_contact($uid,$r[0]["url"],true);
 
-       $a->page['htmlhead'] = '<meta http-equiv="refresh" content="1; URL='.$a->get_baseurl().'/repair_ostatus?counter='.$counter.'">';
+       $a->page['htmlhead'] = '<meta http-equiv="refresh" content="1; URL='.App::get_baseurl().'/repair_ostatus?counter='.$counter.'">';
 
        return $o;
 }