wiki:DeletingTicketSpam

Deleting ticket changes which are spam

Here's how I deleted a bunch of spam links added by the user 'seekgzl' in one go:

 cd /group/project/proofgeneral/data/trac-project-env/db/
 sqlite3 trac.db
 delete from ticket_change where author='seekgzl';

or for spam tickets:

  delete from ticket where id='395';

The TicketDeletePlugin is now integrated into Trac 0.12.x, and the 'delete' button should appear beside tickets when logged in as an administrative user.

Last modified 11 years ago Last modified on May 10, 2013, 10:29:49 AM