Browse Source

Fix : webhook object creation

hystepik 2 years ago
parent
commit
158d0458df
1 changed files with 0 additions and 5 deletions
  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;
 	}