set last insertion time after insert
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 24 Aug 2008 12:39:43 +0000 (14:39 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 24 Aug 2008 12:39:43 +0000 (14:39 +0200)
src/de/todesbaum/jsite/application/ProjectInserter.java

index 88cb20e..3d2457b 100644 (file)
@@ -445,6 +445,7 @@ public class ProjectInserter implements FileScannerListener, Runnable {
                        String editionPart = finalURI.substring(finalURI.lastIndexOf('/') + 1);
                        int newEdition = Integer.parseInt(editionPart);
                        project.setEdition(newEdition);
+                       project.setLastInsertionTime(System.currentTimeMillis());
                }
        }