Fixed slight bug in CleanCacheHandler

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

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

Loading…
Cancel
Save