Fix :: Administrator not created on new install

This commit is contained in:
aspangaro 2014-10-16 21:14:57 +02:00
parent 01957de5a2
commit b4a9e6a119

View File

@ -1155,13 +1155,6 @@ class User extends CommonObject
return -1;
}
if (empty($this->color))
{
$langs->load("errors");
$this->error = $langs->trans("ErrorColor",$this->color);
return -1;
}
$this->db->begin();
// Mise a jour autres infos