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