Ignore:
Timestamp:
09/29/06 13:07:07 (17 years ago)
Author:
bas
Message:

EmailtoTracScript?:

delete_spam.py.in:

  • Now deletes all Spam ticket information form the different SQL tables

debian/changelog, email2trac.spec, ChangeLog?:

  • Preparing for new release
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/delete_spam.py.in

    r99 r111  
    9696                                cursor.execute(sql_cmd)
    9797
     98                                sql_cmd = "DELETE FROM ticket_change WHERE ticket='%s';" %spam_id
     99                                cursor.execute(sql_cmd)
     100
     101                                sql_cmd = "DELETE FROM ticket_custom WHERE ticket='%s';" %spam_id
     102                                cursor.execute(sql_cmd)
     103
    98104                                dir = os.path.join(attachment_dir, str(spam_id))
    99105                                if os.path.exists(dir):
Note: See TracChangeset for help on using the changeset viewer.