]> git.mxchange.org Git - friendica-addons.git/commitdiff
[forumdirectory] Remove direct access to $_SESSION['theme']
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 13 Oct 2019 16:12:49 +0000 (12:12 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 13 Oct 2019 16:12:49 +0000 (12:12 -0400)
forumdirectory/forumdirectory.php

index 079f9caa2206f20270b8c510f2e5cd5225fb6b72..f7c8b2446e80bb152dd77a290136f077e3112789 100644 (file)
@@ -42,8 +42,6 @@ function forumdirectory_init(App $a)
 {
        if (local_user()) {
                $a->page['aside'] .= Widget::findPeople();
-       } else {
-               unset($_SESSION['theme']);
        }
 }