diff --git a/htdocs/webhook/class/target.class.php b/htdocs/webhook/class/target.class.php index a92bbfe93a2..099db89a85b 100644 --- a/htdocs/webhook/class/target.class.php +++ b/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; }