From 5c817521d16a19c1d38f9b483403d6cab9248b30 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 10 Jan 2016 19:13:00 +0100 Subject: [PATCH] Admin dependency added --- Controller.php | 4 +++- info.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Controller.php b/Controller.php index cd3a603..9fd77f2 100644 --- a/Controller.php +++ b/Controller.php @@ -91,7 +91,9 @@ class Controller extends ModuleAbstract implements WebInterface * @var \string * @since 1.0.0 */ - protected static $dependencies = []; + protected static $dependencies = [ + 'Admin', + ]; /** * Routing elements. diff --git a/info.json b/info.json index 19e706c..0a81377 100644 --- a/info.json +++ b/info.json @@ -15,7 +15,9 @@ }, "description": "News module.", "directory": "News", - "dependencies": {}, + "dependencies": { + "Admin" : "1.0.0" + }, "providing": { "Navigation": "*" },