X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=b5ccd6f14db7640fa1561cccd3b0d6118f15b280;hb=c376081d0d00218ea494991de1d4a05c3b4c1567;hp=4a3e9186741d57ac6a1c6b6d27ed97445dec8d98;hpb=516018861e011865a902587876d484d6f0f42a66;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index 4a3e918674..b5ccd6f14d 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -1,6 +1,6 @@ get('system', 'invitation_only')) { $x = intval(DI::pConfig()->get(local_user(), 'system', 'invites_remaining')); - if ($x || is_site_admin()) { + if ($x || DI::app()->isSiteAdmin()) { DI::page()['aside'] .= '
';