X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=22d42c28ac4319b63b7bae0af57b517cab8008fc;hb=79235b6db1c9badd6c9602d54ad0d550e4bec2fd;hp=e0bc6c06765a663804d8c3044a955c8b24186134;hpb=efbafce2d5eab19e6c2a6014df53b248e743e0d1;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index e0bc6c0676..22d42c28ac 100644 --- a/src/Module/Update/Community.php +++ b/src/Module/Update/Community.php @@ -1,6 +1,6 @@ parseRequest(); - $o = conversation(DI::app(), self::getItems(), 'community', true, false, 'commented', local_user()); + $o = ''; + 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); }