jacksleight / statamic-memberbox

This Statamic addon adds a few member related extras on top of Statamic’s existing user features.
https://statamic.com/addons/jacksleight/memberbox
Other
2 stars 3 forks source link

changes for statamic 3.3 #13

Closed cemarta7 closed 2 years ago

cemarta7 commented 2 years ago

This will make the project work on Statamic 3.3

jacksleight commented 2 years ago

Thanks for this! I'm away right now but I'll review when I'm back next week.

Looks like that Users method was changed in https://github.com/statamic/cms/pull/6185, which was released in 3.3.18.

jacksleight commented 2 years ago

Thanks again for reporting and submitting a fix for this!

I've tweaked it slightly, by re-implementing the method that was removed in 3.3.18. That way everything still works with older versions of Statamic so no dependency change is necessary.