Commits

Zhang Huangbin committed 1ca234e

Fix incorrect SQL table name used for deleting admin accounts.

  • Participants
  • Parent commits 9afe592

Comments (0)

Files changed (1)

libs/dbmail_mysql/admin.py

         # Delete domain and related records.
         try:
             self.conn.delete('dbmail_admins', vars=sql_vars, where='username IN $username', )
-            self.conn.delete('domain_domain_admins', vars=sql_vars, where='username IN $username', )
+            self.conn.delete('dbmail_domain_admins', vars=sql_vars, where='username IN $username', )
 
             web.logger(msg="Delete admin: %s." % ', '.join(self.mails), event='delete',)
             return (True,)