Add CSV import for tasks

This commit is contained in:
Frederic Guillot
2015-10-12 17:49:30 -04:00
parent e515f37435
commit 7d458cd500
11 changed files with 286 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ class UserImport extends Base
$row['username'] = strtolower($row['username']);
foreach (array('is_admin', 'is_project_admin', 'is_ldap_user') as $field) {
$row[$field] = csv::getBooleanValue($row[$field]);
$row[$field] = Csv::getBooleanValue($row[$field]);
}
$this->removeEmptyFields($row, array('password', 'email', 'name'));