*/
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();