瀏覽代碼

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;
 			return $resultcreate;
 		}
 		}
 
 
-		$resultvalidate = $this->validate($user, $notrigger);
-		if ($resultvalidate <= 0) {
-			return $resultvalidate;
-		}
-
 		return $this->id;
 		return $this->id;
 	}
 	}