소스 검색

Fix : webhook object creation

hystepik 2 년 전
부모
커밋
158d0458df
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      htdocs/webhook/class/target.class.php

+ 0 - 5
htdocs/webhook/class/target.class.php

@@ -229,11 +229,6 @@ class Target extends CommonObject
 			return $resultcreate;
 		}
 
-		$resultvalidate = $this->validate($user, $notrigger);
-		if ($resultvalidate <= 0) {
-			return $resultvalidate;
-		}
-
 		return $this->id;
 	}