X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=22d42c28ac4319b63b7bae0af57b517cab8008fc;hb=79235b6db1c9badd6c9602d54ad0d550e4bec2fd;hp=9d85cb3e8d431ceb86a50f59f17aec83f1084a4d;hpb=682fb7e4e21d861e48c526c71e64a4bfc2cc2964;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index 9d85cb3e8d..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); }