Remove uneeded cursor parameter in postgresql drop_table
Since changeset 9b2e0aac2d9c issue5516 review23001002
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user