Jaxel
Well-known member
So the dev docs have a tutorial on how to create the setup class:
https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/#creating-the-setup-class
However, this setup class is not cascading (every time you update the addon, it will run through the entire install process again). I use cascading setup classes in my XF1 addons... though this has led to the occasional problems, where some people would randomly not run all the steps (server timeouts?).
Is there a preferred method for creating a cascading setup class with XF2?
https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/#creating-the-setup-class
However, this setup class is not cascading (every time you update the addon, it will run through the entire install process again). I use cascading setup classes in my XF1 addons... though this has led to the occasional problems, where some people would randomly not run all the steps (server timeouts?).
Is there a preferred method for creating a cascading setup class with XF2?