Archived
1
0

proper cleanup

This commit is contained in:
Jeff Becker 2017-04-04 11:08:45 -04:00
parent c871e6ccd3
commit 77d87c0856

View File

@ -963,8 +963,7 @@ func (self *httpFrontend) handle_postRequest(pr *postRequest, b bannedFunc, e er
return return
} }
// clean up // clean up
DelFile(self.daemon.store.GetFilename(nntp.MessageID())) self.daemon.expire.ExpirePost(nntp.MessageID())
self.daemon.database.DeleteArticle(nntp.MessageID())
e(err) e(err)
} }
} }