X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=b5ccd6f14db7640fa1561cccd3b0d6118f15b280;hb=a3173ccb5074d0da75ecc76fd069fa328e2a9cc4;hp=4a3e9186741d57ac6a1c6b6d27ed97445dec8d98;hpb=68046573a4171dcbd5db75a991487bafa4b4370f;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'] .= '
';