Basically what's happening is that I manually set those three database fields to 2, and as soon as there's any call on /utility/structure (either manually or as part of update) it reverts back, so this plugin basically fixes that situation at the same time it's being reverted.
Comments
That.
And when is it needed? Only BeforeCategorySave?
Ah. Sorry for being dense.
Whenever Vanilla is updated or when the
/utility/structure
is called.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Basically what's happening is that I manually set those three database fields to 2, and as soon as there's any call on /utility/structure (either manually or as part of update) it reverts back, so this plugin basically fixes that situation at the same time it's being reverted.
Now I understand - so Setup is only theoretically useful and for at max 1 time only. Okay, then even c&p the function above isn't worth the effort