Fixed function name and add the timeline cleaning for wikirev/page deletion.

This commit is contained in:
Loic d'Anterroches
2008-11-23 11:23:20 +01:00
parent 99dd3aa1d6
commit b03422fc18
3 changed files with 17 additions and 1 deletions

View File

@@ -144,7 +144,7 @@ class IDF_Timeline extends Pluf_Model
* @param mixed Item to be removed
* @return bool Success
*/
public static function insert($item)
public static function remove($item)
{
if ($item->id > 0) {
$sql = new Pluf_SQL('model_id=%s AND model_class=%s',