]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Community.php
Merge pull request #10116 from mexon/mat/addon-console-command
[friendica.git] / src / Module / Update / Community.php
index e0bc6c06765a663804d8c3044a955c8b24186134..b064b4e860e0131c5cc8e55a14e8f6e99314d4fe 100644 (file)
@@ -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);
        }