]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Community.php
Removed redundant maximagesize = INF statements
[friendica.git] / src / Module / Update / Community.php
index 0810cbed24733e3e03b87a6412a9d59c0ec735ed..22d42c28ac4319b63b7bae0af57b517cab8008fc 100644 (file)
@@ -38,8 +38,8 @@ class Community extends CommunityModule
                $this->parseRequest();
 
                $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());
+               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);