Classes extending another class won't use extension system

Status
This content is read-only, or is not open for further replies.

mattrogowski

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom