]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Home.php
Merge pull request #8006 from MrPetovan/bug/7991-remove-group-add-restrictions
[friendica.git] / src / Module / Home.php
index 673701c28d68dfbb3dc1baffd96cc0b32ba9062d..e6fb8c349669b241f53b702300c65a22da60f4d1 100644 (file)
@@ -12,16 +12,8 @@ use Friendica\Core\Renderer;
  */
 class Home extends BaseModule
 {
-       public static function content()
+       public static function content(array $parameters = [])
        {
-               if (!empty($_SESSION['theme'])) {
-                       unset($_SESSION['theme']);
-               }
-
-               if (!empty($_SESSION['mobile-theme'])) {
-                       unset($_SESSION['mobile-theme']);
-               }
-
                $app = self::getApp();
                $config = $app->getConfig();