extension.json - don't use array syntax when hooks only have 1 handler

Change-Id: I88ae489a644dd0cb11f4c3b3a9963a93e286a8a4
This commit is contained in:
DannyS712 2020-03-11 09:52:41 +00:00
parent 19b5572039
commit ff9ae6b7e3

View file

@ -29,18 +29,10 @@
"LoginNotify\\": "includes/"
},
"Hooks": {
"BeforeCreateEchoEvent": [
"LoginNotify\\Hooks::onBeforeCreateEchoEvent"
],
"EchoGetBundleRules": [
"LoginNotify\\Hooks::onEchoGetBundleRules"
],
"AuthManagerLoginAuthenticateAudit": [
"LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit"
],
"LocalUserCreated": [
"LoginNotify\\Hooks::onLocalUserCreated"
]
"BeforeCreateEchoEvent": "LoginNotify\\Hooks::onBeforeCreateEchoEvent",
"EchoGetBundleRules": "LoginNotify\\Hooks::onEchoGetBundleRules",
"AuthManagerLoginAuthenticateAudit": "LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit",
"LocalUserCreated": "LoginNotify\\Hooks::onLocalUserCreated"
},
"JobClasses": {
"LoginNotifyChecks": "LoginNotify\\DeferredChecksJob"