LPS-11613 - Action defined in application.shutdown.events is never invoked

Hi Mika, 

HookHotDeployListener.doInvokeUndeploy()  wasn't invoking events. Only doInvokeDeploy() was. Hence following property couldn't work.

Application shutdown event that runs once for every web site instance of
the portal that shuts down.

application.shutdown.events=com.liferay.portal.events.AppShutdownAction


NOTICE :  I made  git-commit --amend 

because initEvents deploy if-condition was incorrect