Don’t remove the last insert hash when not inserting a file.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 17 Mar 2012 13:07:00 +0000 (14:07 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 17 Mar 2012 13:07:00 +0000 (14:07 +0100)
src/de/todesbaum/jsite/application/ProjectInserter.java

index 158a0bb..c8cc0a2 100644 (file)
@@ -297,8 +297,6 @@ public class ProjectInserter implements FileScannerListener, Runnable {
                } else {
                        if (fileOption.isInsertRedirect()) {
                                fileEntry = new RedirectFileEntry(filename, fileOption.getMimeType(), fileOption.getCustomKey());
-                       } else {
-                               fileOption.setLastInsertHash("");
                        }
                }
                return fileEntry;