X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Frepair_ostatus.php;h=a4ba0b72ee1230a0f7669cf0e6ca791fe923481e;hb=3f3422975266835fc125d1d61aae85ccc10d96d9;hp=f1a86e6b2343f30b3abae54f07a45c83aef6719d;hpb=03038e7a3bb74bdab497d26b7f829a5c3036d1c2;p=friendica.git
diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php
index f1a86e6b23..a4ba0b72ee 100644
--- a/mod/repair_ostatus.php
+++ b/mod/repair_ostatus.php
@@ -6,7 +6,6 @@
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\Protocol;
-use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
@@ -23,8 +22,6 @@ function repair_ostatus_content(App $a) {
$uid = local_user();
- $a = \get_app();
-
$counter = intval($_REQUEST['counter']);
$r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE
@@ -60,7 +57,7 @@ function repair_ostatus_content(App $a) {
Contact::createFromProbe($uid, $r[0]["url"], true);
- $a->page['htmlhead'] = '';
+ DI::page()['htmlhead'] = '';
return $o;
}