X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=280ca164e6b7c3efb62dca042804fea50f1eb6c6;hb=4d5e15709c7c83aac7463e1f9467c7e0bd121f9f;hp=c7ad413d225e34eda1cac94a99244043da3d1d41;hpb=3c76826793feeb933dab7a07dab7cc7eb2efc451;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index c7ad413d22..280ca164e6 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -7,7 +7,6 @@ use Friendica\App; use Friendica\Core\L10n; use Friendica\Core\Protocol; use Friendica\Core\Renderer; -use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Contact; @@ -101,7 +100,7 @@ function unfollow_content(App $a) // NOTREACHED } - $request = System::baseUrl() . '/unfollow'; + $request = DI::baseUrl() . '/unfollow'; $tpl = Renderer::getMarkupTemplate('auto_request.tpl'); $self = DBA::selectFirst('contact', ['url'], ['uid' => $uid, 'self' => true]); @@ -142,7 +141,7 @@ function unfollow_content(App $a) '$keywords_label'=> '' ]); - $a->page['aside'] = ''; + DI::page()['aside'] = ''; Profile::load($a, '', 0, Contact::getDetailsByURL($contact['url'])); $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => L10n::t('Status Messages and Posts')]);