diff --git a/src/main/java/org/olat/modules/_spring/modulesContext.xml b/src/main/java/org/olat/modules/_spring/modulesContext.xml index e449e0f0fd8180362515b0814e66696ac629bbc4..033d22e32b41375d0affda76f015ac64b1bca3b9 100644 --- a/src/main/java/org/olat/modules/_spring/modulesContext.xml +++ b/src/main/java/org/olat/modules/_spring/modulesContext.xml @@ -62,7 +62,7 @@ </bean> <!-- Edubase/Edubook admin. panel --> - <bean class="org.olat.modules.edubase.EdubaseActionExtension" init-method="initExtensionPoints"> + <bean class="org.olat.core.extensions.action.GenericActionExtension" init-method="initExtensionPoints"> <property name="order" value="8249" /> <property name="actionController"> <bean class="org.olat.core.gui.control.creator.AutoCreator" scope="prototype"> diff --git a/src/main/java/org/olat/modules/edubase/EdubaseActionExtension.java b/src/main/java/org/olat/modules/edubase/EdubaseActionExtension.java deleted file mode 100644 index a899065c714726cb272fb1095f466ec4af2bfd9a..0000000000000000000000000000000000000000 --- a/src/main/java/org/olat/modules/edubase/EdubaseActionExtension.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * <a href="http://www.openolat.org"> - * OpenOLAT - Online Learning and Training</a><br> - * <p> - * Licensed under the Apache License, Version 2.0 (the "License"); <br> - * you may not use this file except in compliance with the License.<br> - * You may obtain a copy of the License at the - * <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache homepage</a> - * <p> - * Unless required by applicable law or agreed to in writing,<br> - * software distributed under the License is distributed on an "AS IS" BASIS, <br> - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br> - * See the License for the specific language governing permissions and <br> - * limitations under the License. - * <p> - * Initial code contributed and copyrighted by<br> - * frentix GmbH, http://www.frentix.com - * <p> - */ -package org.olat.modules.edubase; - -import org.olat.core.extensions.action.GenericActionExtension; -import org.springframework.beans.factory.annotation.Autowired; - -/** - * - * Initial date: 20.11.2017<br> - * @author uhensler, urs.hensler@frentix.com, http://www.frentix.com - * - */ -public class EdubaseActionExtension extends GenericActionExtension { - - @Autowired - private EdubaseModule edubaseModule; - - @Override - public boolean isEnabled() { - return edubaseModule.isEnabled(); - } -}