proper cleanup
This commit is contained in:
parent
c871e6ccd3
commit
77d87c0856
@ -963,8 +963,7 @@ func (self *httpFrontend) handle_postRequest(pr *postRequest, b bannedFunc, e er
|
||||
return
|
||||
}
|
||||
// clean up
|
||||
DelFile(self.daemon.store.GetFilename(nntp.MessageID()))
|
||||
self.daemon.database.DeleteArticle(nntp.MessageID())
|
||||
self.daemon.expire.ExpirePost(nntp.MessageID())
|
||||
e(err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user