1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-14 18:09:17 +01:00

Suppression d'une variable non utilisée dans la méthode add_field_to_column_table() de EmField

This commit is contained in:
Roland Haroutiounian 2015-07-01 10:41:27 +02:00
commit 0b1f520647

View file

@ -96,7 +96,6 @@ class EmField(EmComponent):
# @return True in case of success, False if not
def add_field_column_to_class_table(self):
field_type = "%s%s" % (get_field_type(self.fieldtype).sql_column(), " DEFAULT 0" if self.fieldtype == 'integer' else '')
field_uid = self.uid
field_class_table = self.get_class_table()
return SqlWrapper().addColumn(tname=field_class_table, colname=self.name, coltype=field_type)