X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=22d42c28ac4319b63b7bae0af57b517cab8008fc;hb=79235b6db1c9badd6c9602d54ad0d550e4bec2fd;hp=78d6f0bd35bd1e3f1b3c4b9e9ae6b4a39e996218;hpb=1f967426953a37d7e00588734da07ec57ddaf57f;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index 78d6f0bd35..22d42c28ac 100644 --- a/src/Module/Update/Community.php +++ b/src/Module/Update/Community.php @@ -1,6 +1,6 @@ parseRequest(); $o = ''; - if (!empty($_GET['force']) || !DI::pConfig()->get(local_user(), 'system', 'no_auto_update')) { - $o = DI::conversation()->create(self::getItems(), 'community', true, false, 'commented', local_user()); + if (!empty($_GET['force']) || !DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'no_auto_update')) { + $o = DI::conversation()->create(self::getItems(), 'community', true, false, 'commented', DI::userSession()->getLocalUserId()); } System::htmlUpdateExit($o);