From b1f9e04904ae2e0ca417ac5503eee2f1fca57d88 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Wed, 14 Apr 2021 14:32:06 +0800 Subject: [PATCH] * Remove unused code. --- framework/base/router.class.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 2dec604d3a..3a0490f547 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -886,22 +886,6 @@ class baseRouter } } - /** - * 保存openApp到cookie,下次请求使用,常用在locate, reload方法。 - * Save openApp to cookie, use it next visit, when locate, reload page. - * - * @access public - * @return void - */ - public function saveOpenApp() - { - $module = $this->rawModule; - if(isset($this->lang->navGroup->$module) and $this->lang->navGroup->$module != $this->openApp) - { - setCookie('openApp', $this->openApp); - } - } - /** * 根据用户浏览器的语言设置和服务器配置,选择显示的语言。 * 优先级:$lang参数 > session > cookie > 浏览器 > 配置文件。