]> git.mxchange.org Git - friendica.git/blobdiff - mod/uimport.php
Replaced all preg calls in the calls with the new function
[friendica.git] / mod / uimport.php
index 22a3161559d46d48cf29149a906a49e6a1de9c2f..436802265b2a85c1dc272534ff1b6ff4db913145 100644 (file)
@@ -41,14 +41,6 @@ function uimport_content(App $a)
                }
        }
 
-
-       if (!empty($_SESSION['theme'])) {
-               unset($_SESSION['theme']);
-       }
-       if (!empty($_SESSION['mobile-theme'])) {
-               unset($_SESSION['mobile-theme']);
-       }
-
        $tpl = Renderer::getMarkupTemplate("uimport.tpl");
        return Renderer::replaceMacros($tpl, [
                '$regbutt' => L10n::t('Import'),