diff --git a/Module.php b/Module.php index 42baffd..d172dae 100644 --- a/Module.php +++ b/Module.php @@ -4,19 +4,6 @@ class Module extends \luya\base\Module { - public $isCoreModule = false; - - public $useAppLayoutPath = false; - - public $controllerUseModuleViewPath = true; - - public $password = false; - - public static function t($message, array $params = []) - { - return \luya\Module::t('imageslider', $message, $params); - } - public $assets = [ 'imageslider\assets\Main', ]; diff --git a/README.md b/README.md index ac18b75..800e2de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # luya-module-imageslider -Version 1.0.0 + +Version 1.0.1 + Image slider module for [LUYA CMS](https://github.com/zephir/luya) diff --git a/blocks/SliderBlock.php b/blocks/SliderBlock.php index aec4579..66e7dd6 100644 --- a/blocks/SliderBlock.php +++ b/blocks/SliderBlock.php @@ -59,11 +59,6 @@ public function extraVars() ]; } - public function renderFrontend(\Twig_Environment $twig) - { - return parent::renderFrontend($twig); - } - public function twigFrontend() { return '