]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Community.php
Standards
[friendica.git] / src / Module / Update / Community.php
index 0915cf7d4b096e3e6003985587fe8483be3213ee..9a1ffd771f70ef09a2f0b71bc3aae12fcb13fbea 100644 (file)
@@ -33,13 +33,13 @@ use Friendica\Module\Conversation\Community as CommunityModule;
  */
 class Community extends CommunityModule
 {
-       public static function rawContent(array $parameters = [])
+       protected function rawContent(array $request = [])
        {
-               self::parseRequest($parameters);
+               $this->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());
+                       $o = DI::conversation()->create(self::getItems(), 'community', true, false, 'commented', local_user());
                }
 
                System::htmlUpdateExit($o);