* [task#146784,done,2h] Remove useless codes.

This commit is contained in:
daitingting
2025-07-18 16:16:54 +08:00
parent e253059a72
commit cb11e095b5
-3
View File
@@ -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'];