fix cache not flushing on refresh

This commit is contained in:
servertood
2008-11-21 02:46:25 +00:00
parent 308a937dae
commit d6418efa7b
2 changed files with 9 additions and 0 deletions

View File

@@ -30,8 +30,13 @@ else if ("Refresh" == who)
db.flushCache();
}
}
else
{
db.flushCache();
}
String script = tab.getProperty("refreshScript");
log.info("refreshing: " + script);
HashObject scriptArgs = (HashObject)tab.getProperty("refreshArgs");
if ( script != null )
{

View File

@@ -31,6 +31,10 @@ else if ("Refresh" == who)
db.flushCache();
}
}
else
{
db.flushCache();
}
String script = tab.getProperty("refreshScript");
HashObject scriptArgs = (HashObject)tab.getProperty("refreshArgs");