Remove uneeded cursor parameter in postgresql drop_table

Since changeset 9b2e0aac2d9c

issue5516
review23001002
This commit is contained in:
Sergi Almacellas Abellana
2016-05-01 22:50:11 +02:00
parent 5b68149ea8
commit 439194daf6
+1 -1
View File
@@ -463,7 +463,7 @@ class TableHandler(TableHandlerInterface):
self._update_definitions(columns=True)
@staticmethod
def drop_table(cursor, model, table, cascade=False):
def drop_table(model, table, cascade=False):
cursor = Transaction().connection.cursor()
cursor.execute('DELETE FROM ir_model_data '
'WHERE model = \'%s\'' % model)