task_sunjun_53672

This commit is contained in:
sunjun
2022-05-10 08:22:25 +00:00
parent 57b5a8a1c5
commit 0a23be8a5b
-3
View File
@@ -121,9 +121,6 @@ class releaseModel extends model
/* Check build if build is required. */
if(strpos($this->config->release->create->requiredFields, 'build') !== false and $this->post->build == false) return dao::$errors[] = sprintf($this->lang->error->notempty, $this->lang->release->build);
/* Check date must be not more than today. */
if($this->post->date > date('Y-m-d')) return dao::$errors[] = $this->lang->release->errorDate;
$release = fixer::input('post')
->add('product', (int)$productID)
->add('branch', (int)$branch)