1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Issue #210 Clear Cache after changes. Partial fix. Needs to also run after inline editing.

This commit is contained in:
Cameron
2013-05-04 01:38:37 -07:00
parent fd92ea84ea
commit 1c2dc80e93

View File

@@ -109,6 +109,19 @@ class links_admin_ui extends e_admin_ui
*/
protected $_link_array = null;
function afterCreate($newdata,$olddata, $id) //FIXME needs to work after inline editing too.
{
e107::getCache()->clearAll('content');
}
function afterUpdate($newdata,$olddata, $id) //FIXME needs to work after inline editing too.
{
e107::getCache()->clearAll('content');
}
function init()
{
$this->fields['link_category']['writeParms'] = array(