diff --git a/src/main/java/org/olat/core/gui/control/generic/clone/CloneController.java b/src/main/java/org/olat/core/gui/control/generic/clone/CloneController.java index 9ead2b8e232190fa21a9ef0593599e723f194865..0063a1628d2d869c97e722aa8149897b80b3b7c8 100644 --- a/src/main/java/org/olat/core/gui/control/generic/clone/CloneController.java +++ b/src/main/java/org/olat/core/gui/control/generic/clone/CloneController.java @@ -26,7 +26,6 @@ package org.olat.core.gui.control.generic.clone; -import org.apache.logging.log4j.Logger; import org.olat.core.gui.UserRequest; import org.olat.core.gui.components.Component; import org.olat.core.gui.components.velocity.VelocityContainer; @@ -34,7 +33,6 @@ import org.olat.core.gui.control.Event; import org.olat.core.gui.control.WindowControl; import org.olat.core.gui.control.controller.BasicController; import org.olat.core.gui.control.creator.ControllerCreator; -import org.olat.core.logging.Tracing; /** * Initial Date: 05.01.2006 @@ -42,7 +40,6 @@ import org.olat.core.logging.Tracing; * @author Felix Jost */ public class CloneController extends BasicController{ - private static final Logger log = Tracing.createLoggerFor(CloneController.class); private static final String CMD_CLONE = "cl"; private VelocityContainer mainVC; @@ -77,9 +74,7 @@ public class CloneController extends BasicController{ public void event(UserRequest ureq, Component source, Event event) { if (source == mainVC) { if (event.getCommand().equals(CMD_CLONE)) { // clone request - ControllerCreator cloneControllerCreator = (lureq, lwControl) -> { - return readyToCloneC.cloneController(lureq, lwControl); - }; + ControllerCreator cloneControllerCreator = (lureq, lwControl) -> readyToCloneC.cloneController(lureq, lwControl); ControllerCreator newWindowContent; if(layoutCreator != null){ diff --git a/src/main/java/org/olat/modules/wiki/WikiMainController.java b/src/main/java/org/olat/modules/wiki/WikiMainController.java index a97105e45a052e5d7a885099c87bbef3d7ed2a63..1de36066c249aecaa2777bcaedc553487573b15e 100644 --- a/src/main/java/org/olat/modules/wiki/WikiMainController.java +++ b/src/main/java/org/olat/modules/wiki/WikiMainController.java @@ -1201,7 +1201,7 @@ public class WikiMainController extends BasicController implements CloneableCont @Override public Controller cloneController(UserRequest ureq, WindowControl wControl) { - return WikiManager.getInstance().createWikiMainController(ureq, wControl, ores, securityCallback, null, null); + return WikiManager.getInstance().createWikiMainController(ureq, wControl, ores, securityCallback, assessmentProvider, null); } private void doReleaseEditLock() {