Sim
Well-known member
In
Basically, just add
\XF\Repository\UserUpgrade::expireActiveUpgrade
it would be super useful if the expired upgrade which was created/saved was returned by the function so that we can do something with it in our class extensions.Basically, just add
return $expired;
to the end of the function.
Upvote
0