X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FUpdate%2FCommunity.php;h=22d42c28ac4319b63b7bae0af57b517cab8008fc;hb=79235b6db1c9badd6c9602d54ad0d550e4bec2fd;hp=b064b4e860e0131c5cc8e55a14e8f6e99314d4fe;hpb=6f0d40c6c0957751d5f0de844c81a7a140eb7ec7;p=friendica.git diff --git a/src/Module/Update/Community.php b/src/Module/Update/Community.php index b064b4e860..22d42c28ac 100644 --- a/src/Module/Update/Community.php +++ b/src/Module/Update/Community.php @@ -1,6 +1,6 @@ parseRequest(); $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()); + 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);