How to correctly extend XF\Repository\UserUpgrade

I need to use method downgradeExpiredUpgrades() from XF\Repository\UserUpgrade in order to update some data on my add-on after user upgrade expiration, however doing that I got conflicts with other add-ons.

How can I correctly extend the class to use downgradeExpiredUpgrades() without affecting other add-ons?

Class extension:
XF\Repository\UserUpgrade --> My\Addon\XF\Repository\UserUpgrade

Class file - My\Addon\XF\Repository\UserUpgrade
Code:

<?php...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ