X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=0810cbed24733e3e03b87a6412a9d59c0ec735ed;hb=d8fe8b1e8b008ee0b8d87fda7467b1d058a07e75;hp=e0bc6c06765a663804d8c3044a955c8b24186134;hpb=d09b3f5bdeae444f785f6283e55dbf2f61caadac;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index e0bc6c0676..0810cbed24 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(local_user(), 'system', 'no_auto_update')) { + $o = DI::conversation()->create(self::getItems(), 'community', true, false, 'commented', local_user()); + } System::htmlUpdateExit($o); }