Reduce memory usage

This commit is contained in:
Romain Neutron
2013-12-26 15:34:05 +01:00
parent 2faa881d63
commit 53ba5f215c
13 changed files with 58 additions and 14 deletions

View File

@@ -1464,4 +1464,9 @@ class databox extends base
}
parent::delete_data_from_cache($option);
}
public static function purge()
{
self::$_xpath_thesaurus = self::$_dom_thesaurus = self::$_thesaurus = self::$_sxml_thesaurus = [];
}
}