From cb11e095b5c57128abc2c87ffa08d41e6fa0020f Mon Sep 17 00:00:00 2001 From: daitingting Date: Fri, 18 Jul 2025 16:16:54 +0800 Subject: [PATCH] * [task#146784,done,2h] Remove useless codes. --- framework/base/router.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 54f140ec27..79e274fa87 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -949,11 +949,8 @@ class baseRouter if(empty($account) and isset($_COOKIE['za'])) $account = $_COOKIE['za']; $vision = ''; - $sql = new sql(); if($this->config->installed and validater::checkAccount($account) and !$this->upgrading) { - $account = $sql->quote($account); - if(!empty($_COOKIE['vision'])) { $vision = $_COOKIE['vision'];