From ca003798147de500bab74f8e970bb0caea2a2670 Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Wed, 14 Sep 2016 17:18:52 +0200 Subject: [PATCH] Use the short hooks definition in extension.json Change-Id: I53415a93290cd3fc973e384bfd66364b4dcf8206 --- extension.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/extension.json b/extension.json index 3e4f2d6..98a55d6 100644 --- a/extension.json +++ b/extension.json @@ -14,18 +14,10 @@ ] }, "Hooks": { - "SkinTemplateOutputPageBeforeExec": [ - "CookieWarningHooks::onSkinTemplateOutputPageBeforeExec" - ], - "BeforePageDisplay": [ - "CookieWarningHooks::onBeforePageDisplay" - ], - "GetPreferences": [ - "CookieWarningHooks::onGetPreferences" - ], - "BeforeInitialize": [ - "CookieWarningHooks::onBeforeInitialize" - ] + "SkinTemplateOutputPageBeforeExec": "CookieWarningHooks::onSkinTemplateOutputPageBeforeExec", + "BeforePageDisplay": "CookieWarningHooks::onBeforePageDisplay", + "GetPreferences": "CookieWarningHooks::onGetPreferences", + "BeforeInitialize": "CookieWarningHooks::onBeforeInitialize" }, "config": { "CookieWarningEnabled": false,