From 213174794e83213457bc9c6291f2f6e60fd7bcfc Mon Sep 17 00:00:00 2001 From: star7th Date: Thu, 6 May 2021 17:37:00 +0800 Subject: [PATCH] Update BaseController.class.php --- server/Application/Api/Controller/BaseController.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/Application/Api/Controller/BaseController.class.php b/server/Application/Api/Controller/BaseController.class.php index 77ccded07..2412db4f6 100644 --- a/server/Application/Api/Controller/BaseController.class.php +++ b/server/Application/Api/Controller/BaseController.class.php @@ -187,9 +187,6 @@ protected function checkItemCreator($uid , $item_id){ //判断某用户是否有项目访问权限(公开项目的话所有人可访问,私有项目则项目成员、项目创建者和访问密码输入者可访问) protected function checkItemVisit($uid , $item_id, $refer_url= ''){ - if (session("visit_item_".$item_id)) { - return true; - } if ($this->checkItemCreator($uid , $item_id)) { session("visit_item_".$item_id , 1 );