mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-23 13:56:53 +00:00
Use the short hooks definition in extension.json
Change-Id: I53415a93290cd3fc973e384bfd66364b4dcf8206
This commit is contained in:
parent
a6d1e1f11a
commit
ca00379814
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue