Undupe undupe = new Undupe(dupelog);
siteCommandHandler.registerAction("undupe", undupe);
}
public void registerEventHandlers(EventHandler eventHandler) {
DupelogHandler dph = new DupelogHandler(dupelog);
eventHandler.addAfterEventHandler(Event.DELETE_FILE, dph); // remove from dupelog
eventHandler.addAfterEventHandler(Event.UPLOAD, dph); // add to dupelog
eventHandler.addBeforeEventHandler(Event.UPLOAD, dph); // dupecheck
}