]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Feed.php
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
[friendica.git] / src / Module / Feed.php
index 15b2026e2c246559668a4e30df495e8a811280d0..ba2153762754c24d9f3e59a8437d87d8c7156c4c 100644 (file)
@@ -23,11 +23,11 @@ use Friendica\Protocol\OStatus;
  */
 class Feed extends BaseModule
 {
-       public static function content()
+       public static function content(array $parameters = [])
        {
                $a = self::getApp();
 
-               $last_update = defaults($_GET, 'last_update', '');
+               $last_update = $_GET['last_update'] ?? '';
                $nocache     = !empty($_GET['nocache']) && local_user();
 
                // @TODO: Replace with parameter from router