remove username argument from delete_pgsql_database call

This commit is contained in:
Jan Dittberner 2015-01-09 19:38:30 +01:00
parent 1af553c1fa
commit 780a670565
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ class UserDatabase(TimeStampedModel, models.Model):
"""
if self.db_user.db_type == DB_TYPES.pgsql:
delete_pgsql_database.delay(self.db_name, self.db_user.name).get()
delete_pgsql_database.delay(self.db_name).get()
elif self.db_user.db_type == DB_TYPES.mysql:
delete_mysql_database.delay(self.db_name, self.db_user.name).get()
else: