X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=3e9130e0e8e42a233b5bd5090a383adc3ff599ff;hb=3c5f7e457aa0717855f3e8453b8bc036c16158f2;hp=2b1224f4233fa6bec55792ad3242278b541a795c;hpb=8d8dc2d060ee1d8d5f7754aef2459e5e3f1aa1a9;p=friendica.git
diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php
index 2b1224f423..3e9130e0e8 100755
--- a/mod/repair_ostatus.php
+++ b/mod/repair_ostatus.php
@@ -3,9 +3,9 @@
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
@@ -51,7 +51,7 @@ function repair_ostatus_content(&$a) {
$result = new_contact($uid,$r[0]["url"],true);
- $a->page['htmlhead'] = '';
+ $a->page['htmlhead'] = '';
return $o;
}