From 35ecdc8290398a19e8def911585b5018b44f335c Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Wed, 21 Oct 2020 09:31:28 +0800 Subject: [PATCH] * Remove duplicate query code. --- module/common/model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 9b977a6b8b..34223b1825 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1464,7 +1464,6 @@ EOD; if(isset($this->app->user)) { - if(!defined('IN_UPGRADE')) $this->session->user->view = $this->loadModel('user')->grantUserView(); $this->app->user = $this->session->user; if(!commonModel::hasPriv($module, $method)) $this->deny($module, $method);