summaryrefslogtreecommitdiff
path: root/app/Model/TaskValidator.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-20 19:52:34 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-20 19:52:34 -0500
commitb84edaaf13ba854290099b0df452f61e9b595a17 (patch)
treed59cb64e7159321ae655db251ec3f72ce4ea4588 /app/Model/TaskValidator.php
parent99a8d153cf8c3143313d8c47ef576144b23f815f (diff)
Description should not be mandatory, see #400
Diffstat (limited to 'app/Model/TaskValidator.php')
-rw-r--r--app/Model/TaskValidator.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Model/TaskValidator.php b/app/Model/TaskValidator.php
index 816008cf..ecaf0902 100644
--- a/app/Model/TaskValidator.php
+++ b/app/Model/TaskValidator.php
@@ -70,7 +70,6 @@ class TaskValidator extends Base
{
$rules = array(
new Validators\Required('id', t('The id is required')),
- new Validators\Required('description', t('The description is required')),
);
$v = new Validator($values, array_merge($rules, $this->commonValidationRules()));