Fixed slight bug in CleanCacheHandler

main
Inga 🏳‍🌈 15 years ago
parent 24cff59050
commit ad93ee92f7
  1. 2
      Builder/IISMainHandler/build.txt
  2. 3
      IISMainHandler/handlers/request/maintenance/CleanCacheHandler.cs

@ -24,7 +24,10 @@ namespace FLocal.IISHandler.handlers.request.maintenance {
int length = int.Parse(context.httprequest.Form["length"]); int length = int.Parse(context.httprequest.Form["length"]);
ISqlObjectTableSpec tableSpec = TableManager.TABLES[table]; ISqlObjectTableSpec tableSpec = TableManager.TABLES[table];
for(int i=0; i<length; i++) { for(int i=0; i<length; i++) {
try {
tableSpec.refreshSqlObject(start+i); tableSpec.refreshSqlObject(start+i);
} catch(NotFoundInDBException) {
}
} }
return new XElement[] { return new XElement[] {
}; };

Loading…
Cancel
Save