- Affected version
- 2.0.0 RC1
In earlier versions of XF2, it was no longer possible to set two event listeners to the same callback because of a unique index in MySQL. Fortunately, this was addressed here: https://xenforo.com/community/threa...eners-for-the-same-event-and-callback.135261/
Unfortunately, two listeners registered to the same callback won't be properly exported to the development output, presumably because the file naming scheme is dependent only on the callback name itself (and there can only ever be one file). This winds up being pretty annoying, as in practice I've still had to resort to creating multiple callback methods to work around this.
Unfortunately, two listeners registered to the same callback won't be properly exported to the development output, presumably because the file naming scheme is dependent only on the callback name itself (and there can only ever be one file). This winds up being pretty annoying, as in practice I've still had to resort to creating multiple callback methods to work around this.