RSS Feed/News XF\Job\Notifier does not use extendClass before calling createForJob static function

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,726
Points
823

Reputation:

Unlike how Entity::getStructure can be overridden by class extensions, XF\Service\AbstractNotifier::createForJob is directly called without going via extendClass to resolve to the extended notifier to call the static function.

Thankfully the notifier that gets created by the \XF::service() does call extendClass

Continue reading...
 
Status
Not open for further replies.
Top