private boolean removeLatestUpdateOld(CFMLEngineFactory factory, String password) throws IOException, ServletException {
File patchDir = new File(factory.getResourceRoot(),"patches");
if(!patchDir.exists())patchDir.mkdirs();
File[] patches=patchDir.listFiles(new ExtensionFilter(new String[]{"."+getCoreExtension()}));
File patch=null;
for(int i=0;i<patches.length;i++) {
if(patch==null || isNewerThan(railo.loader.util.Util.toInVersion(patches[i].getName()),railo.loader.util.Util.toInVersion(patch.getName()))) {
patch=patches[i];
}