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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user