/*
* @see org.rssowl.core.model.dao.IModelDAO#deleteAttachment(org.rssowl.core.model.reference.AttachmentReference)
*/
public void deleteAttachment(AttachmentReference reference) throws PersistenceException {
IAttachment attachment = loadAttachment(reference.getId());
AttachmentEvent event = new AttachmentEvent(attachment, true);
//TODO Not sure about this, but let's do it for now to help us track a bug
//in NewsService where never having a newsUpdated with a null oldNews is
//helpful
INews news = attachment.getNews();
INews oldNews = fDb.ext().peekPersisted(news, 2, true);