From 6ae4c2e1e6dfd3b86e1b50e9833097bd7b4409b6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 2 Apr 2016 17:47:30 +0200 Subject: [PATCH] Usage of InfoManager --- Admin/Installer.php | 2 +- Admin/Uninstall.php | 2 +- Controller.php | 11 ----------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index 88037a4..340b914 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -36,7 +36,7 @@ class Installer extends InstallerAbstract /** * {@inheritdoc} */ - public static function install(Pool $dbPool, array $info) + public static function install(Pool $dbPool, InfoManager $info) { parent::install($dbPool, $info); diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 918689d..ff7b949 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -37,7 +37,7 @@ class Uninstall extends UninstallAbstract /** * {@inheritdoc} */ - public static function uninstall(Pool $dbPool, array $info) + public static function uninstall(Pool $dbPool, InfoManager $info) { parent::uninstall($dbPool, $info); diff --git a/Controller.php b/Controller.php index c4c5b1d..105b243 100644 --- a/Controller.php +++ b/Controller.php @@ -21,7 +21,6 @@ use Modules\Navigation\Views\NavigationView; use phpOMS\Contract\RenderableInterface; use phpOMS\Datatypes\SmartDateTime; use phpOMS\Message\RequestAbstract; -use phpOMS\Message\RequestDestination; use phpOMS\Message\ResponseAbstract; use phpOMS\Module\ModuleAbstract; use phpOMS\Module\WebInterface; @@ -66,16 +65,6 @@ class Controller extends ModuleAbstract implements WebInterface */ const MODULE_NAME = 'Calendar'; - /** - * Localization files. - * - * @var string - * @since 1.0.0 - */ - protected static $localization = [ - RequestDestination::BACKEND => [''], - ]; - /** * Providing. *