osTicket/osTicket-1.8 — pull request #38 by protich (2013-10-24 18:34:34+00:00)
Title: Draft cleanup revisited.

* Do draft cleanup before nulling the ticket object
* Only clean note drafts unless the ticket is being closed.