Skip to content
Snippets Groups Projects
Commit f8c07688 authored by uhensler's avatar uhensler
Browse files

OO-3184: Edubase administration site is visible per default

parent 151eddf8
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
/**
* <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();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment