Projects with duplicate name are now allowed

This commit is contained in:
Frederic Guillot
2015-11-15 19:29:31 -05:00
parent 968ae47454
commit adb35896d8
29 changed files with 57 additions and 44 deletions

View File

@@ -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),
);
}