RSS Feed/News Classes extending another class won't use extension system

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
27,126
Points
823

Reputation:

Can't think how else to word that.

Not sure if this is strictly speaking a bug but it's a general design issue I think.

Take following example:

XF\Service\User\PasswordReset holds most of the logic for resetting passwords. XF\Service\User\SecurityLockReset extends PasswordReset

If you extend XF\Service\User\PasswordReset and extend say resetLostPassword(), your extended version will not run when called via XF\Service\User\SecurityLockReset. This is...

Read more

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