mirror of
https://github.com/friendica/friendica
synced 2025-04-20 06:30:10 +00:00
Remove useless theme session variable deletions in modules
This commit is contained in:
parent
ead0defb48
commit
f4d06ebd47
7 changed files with 0 additions and 41 deletions
|
@ -14,14 +14,6 @@ class Home extends BaseModule
|
|||
{
|
||||
public static function content()
|
||||
{
|
||||
if (!empty($_SESSION['theme'])) {
|
||||
unset($_SESSION['theme']);
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['mobile-theme'])) {
|
||||
unset($_SESSION['mobile-theme']);
|
||||
}
|
||||
|
||||
$app = self::getApp();
|
||||
$config = $app->getConfig();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue