X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=b064b4e860e0131c5cc8e55a14e8f6e99314d4fe;hb=d666b6cb42a1b0d46e9fae914a803fbd5e10e2ab;hp=e0bc6c06765a663804d8c3044a955c8b24186134;hpb=f7be06c248ec41e6ea4136dc6a7663e7051a602d;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index e0bc6c0676..b064b4e860 100644 --- a/src/Module/Update/Community.php +++ b/src/Module/Update/Community.php @@ -37,7 +37,10 @@ class Community extends CommunityModule { self::parseRequest($parameters); - $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 = conversation(DI::app(), self::getItems(), 'community', true, false, 'commented', local_user()); + } System::htmlUpdateExit($o); }