Fixed to correctly clean the index and timeline when needed.

This commit is contained in:
Loic d'Anterroches
2008-11-23 12:00:15 +01:00
parent 78bc9a5466
commit b3eb42817c
3 changed files with 16 additions and 0 deletions

View File

@@ -143,6 +143,11 @@ class IDF_Issue extends Pluf_Model
return Pluf_Text::cleanString(html_entity_decode($str, ENT_QUOTES, 'UTF-8'));
}
function preDelete()
{
IDF_Timeline::remove($this);
IDF_Search::remove($this);
}
function preSave($create=false)
{