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/" "LoginNotify\\": "includes/"
}, },
"Hooks": { "Hooks": {
"BeforeCreateEchoEvent": [ "BeforeCreateEchoEvent": "LoginNotify\\Hooks::onBeforeCreateEchoEvent",
"LoginNotify\\Hooks::onBeforeCreateEchoEvent" "EchoGetBundleRules": "LoginNotify\\Hooks::onEchoGetBundleRules",
], "AuthManagerLoginAuthenticateAudit": "LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit",
"EchoGetBundleRules": [ "LocalUserCreated": "LoginNotify\\Hooks::onLocalUserCreated"
"LoginNotify\\Hooks::onEchoGetBundleRules"
],
"AuthManagerLoginAuthenticateAudit": [
"LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit"
],
"LocalUserCreated": [
"LoginNotify\\Hooks::onLocalUserCreated"
]
}, },
"JobClasses": { "JobClasses": {
"LoginNotifyChecks": "LoginNotify\\DeferredChecksJob" "LoginNotifyChecks": "LoginNotify\\DeferredChecksJob"