Renamed events in UserEvent
In order to avoid conflicts with events in `FormEvent` which have the same name.
This commit is contained in:
@ -5,6 +5,7 @@
|
|||||||
- Fix #378: Add module attribute 'disableIpLogging' (jkmssoft)
|
- Fix #378: Add module attribute 'disableIpLogging' (jkmssoft)
|
||||||
- Enh #387: Added Persian translation (hadi-aj)
|
- Enh #387: Added Persian translation (hadi-aj)
|
||||||
- Fix #384: Delete flash messages after consuming (cgsmith)
|
- Fix #384: Delete flash messages after consuming (cgsmith)
|
||||||
|
- Fix #381: Renamed events in `UserEvent` to avoid conflicts with events in `FormEvent` (Slayvin)
|
||||||
|
|
||||||
## 1.5.1 April 5, 2020
|
## 1.5.1 April 5, 2020
|
||||||
- Fix #370: Extending view fix (effsoft)
|
- Fix #370: Extending view fix (effsoft)
|
||||||
|
|||||||
@ -23,8 +23,8 @@ class UserEvent extends Event
|
|||||||
const EVENT_AFTER_CREATE = 'afterCreate';
|
const EVENT_AFTER_CREATE = 'afterCreate';
|
||||||
const EVENT_BEFORE_DELETE = 'beforeDelete';
|
const EVENT_BEFORE_DELETE = 'beforeDelete';
|
||||||
const EVENT_AFTER_DELETE = 'afterDelete';
|
const EVENT_AFTER_DELETE = 'afterDelete';
|
||||||
const EVENT_BEFORE_REGISTER = 'beforeRegister';
|
const EVENT_BEFORE_REGISTER = 'beforeRegistration';
|
||||||
const EVENT_AFTER_REGISTER = 'afterRegister';
|
const EVENT_AFTER_REGISTER = 'afterRegistration';
|
||||||
const EVENT_BEFORE_ACCOUNT_UPDATE = 'beforeAccountUpdate';
|
const EVENT_BEFORE_ACCOUNT_UPDATE = 'beforeAccountUpdate';
|
||||||
const EVENT_AFTER_ACCOUNT_UPDATE = 'afterAccountUpdate';
|
const EVENT_AFTER_ACCOUNT_UPDATE = 'afterAccountUpdate';
|
||||||
const EVENT_BEFORE_PROFILE_UPDATE = 'beforeProfileUpdate';
|
const EVENT_BEFORE_PROFILE_UPDATE = 'beforeProfileUpdate';
|
||||||
|
|||||||
Reference in New Issue
Block a user