M

Classes extending another class won't use extension system

  • Thread starter Thread starter mattrogowski
  • Start date Start date
M

mattrogowski

Guest

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...
 
Similar threads Most view View more
Back
Top Bottom