diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-15 19:29:31 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-15 19:29:31 -0500 |
commit | adb35896d8c5bcc6673188921868e472ba35278e (patch) | |
tree | 1261fad74366d8d9e002e2f7cdbe39cd40109155 /app/Model | |
parent | 968ae474541302c92f8ec62e9520299c8c95a57a (diff) |
Projects with duplicate name are now allowed
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Project.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php index 9e30a9b8..a7f93099 100644 --- a/app/Model/Project.php +++ b/app/Model/Project.php @@ -527,7 +527,6 @@ class Project extends Base new Validators\MaxLength('start_date', t('The maximum length is %d characters', 10), 10), new Validators\MaxLength('end_date', t('The maximum length is %d characters', 10), 10), new Validators\AlphaNumeric('identifier', t('This value must be alphanumeric')) , - new Validators\Unique('name', t('This project must be unique'), $this->db->getConnection(), self::TABLE), new Validators\Unique('identifier', t('The identifier must be unique'), $this->db->getConnection(), self::TABLE), ); } |