Browse Source

Merge branch 'master' of github.com:star7th/showdoc

star7th 4 years ago
parent
commit
a1dd3c6572
1 changed files with 0 additions and 3 deletions
  1. 0 3
      server/Application/Api/Controller/BaseController.class.php

+ 0 - 3
server/Application/Api/Controller/BaseController.class.php

@@ -187,9 +187,6 @@ class BaseController extends Controller {
 	//判断某用户是否有项目访问权限(公开项目的话所有人可访问,私有项目则项目成员、项目创建者和访问密码输入者可访问)
 	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 );