]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Remove faulty escape for HTML entities in BBCode::toMarkdown
[friendica.git] / src / App.php
index eed91769fd9f6b23099f47438ecd714da36a9e10..3325f5b260357694b0bc81d590cd48abe31788d3 100644 (file)
@@ -385,7 +385,7 @@ class App
         * @deprecated 2019.09 - Use BaseURL->remove() instead
         * @see        BaseURL::remove()
         */
-       public function removeBaseURL($origURL)
+       public function removeBaseURL(string $origURL)
        {
                return $this->baseURL->remove($origURL);
        }
@@ -674,11 +674,7 @@ class App
                        }
 
                        // Exclude the backend processes from the session management
-                       if (!$this->mode->isBackend()) {
-                               $this->l10n->setSessionVariable();
-                               $this->l10n->setLangFromSession();
-                       } else {
-                               $_SESSION = [];
+                       if ($this->mode->isBackend()) {
                                Core\Worker::executeIfIdle();
                        }