• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Overriding class's function

Arty

Well-known member
#1
I want to change way XenForo_Model_UserUpgrade::getUserUpgradesForPurchaseList() behaves. What's the correct approach to overriding that function in addon?

edit: never mind, found a tutorial.