Fixing a decaching issue on nav edits and deletes
This commit is contained in:
parent
ab676117f8
commit
164ce6afcc
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ sub www_deleteNavigationConfirm {
|
|||
WebGUI::SQL->write("delete from Navigation where navigationId = $session{form}{navigationId}");
|
||||
|
||||
# Also delete cache
|
||||
WebGUI::Cache->new("", "Navigation-".$session{config}{configFile})->deleteByRegex("m/^$session{form}{navigationId}-/");
|
||||
WebGUI::Page->recacheNavigation;
|
||||
return www_listNavigation();
|
||||
}
|
||||
|
||||
|
|
@ -275,8 +275,8 @@ sub www_editNavigationSave {
|
|||
reverse = ".quote($session{form}{'reverse'})."
|
||||
where navigationId = $session{form}{navigationId}");
|
||||
# Delete from cache
|
||||
WebGUI::Cache->new("", "Navigation-".$session{config}{configFile})->deleteByRegex("m/^$session{form}{navigationId}-/");
|
||||
|
||||
WebGUI::Page->recacheNavigation;
|
||||
return www_listNavigation();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue