X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=b5ccd6f14db7640fa1561cccd3b0d6118f15b280;hb=a3173ccb5074d0da75ecc76fd069fa328e2a9cc4;hp=daa34a8b00b2d3a8c3a9681df3519e3e1b498483;hpb=86947b09975c253f7fd8d8ad8ef8bae5fad1090c;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index daa34a8b00..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'] .= '
';