If the pop-up where you can choose to delete data does not show when deactivating on network level, you can try activating the plugin on a subsite only (not network activated), then deactivate and choose the delete data option.
Weβll look into this, because it should work from the network level as well of course.
Thanks as ever for the rapid response, Rogier. Works partially, but only on the selected subsite and some tables remain (suffice to say I have too many to process manually) … it would great if deactivation had the same pop up option as on subsites and subsequent plugin deletion deleted all the underying tables, which could of course be optional for those temporarily deactivating. Thanks again.
@ecce-homo Can you try the following branch?
https://github.com/Burst-Statistics/burst/tree/remove-data-on-multisite
It fixes the missing popup on network overview, and runs through all subsites and removes the data.
Let me know if this helps!
Well thanks again for the prompt action on this. The pop up now appears on deactivation and from a quick scan the tables are now empty. π
On deletion all the tables remain, however, so was there an option that I missed on deleting the plugin?
The tables should already be deleted on deactivation. I think the problem was caused because it was possible that the code that handles database table upgrade checks might run during deactivation. That would explain empty tables: they’re deleted, but afterwards installed again.
I have adjusted the code so it won’t run installation during deactivation, which is not necessary anyway.
Hi Rogier
That’s working as expected now.
Thank you very much for your kind help.
π
Great! Thanks for confirming!
Oh hang on, the delete plugin must have completed that side, but only partially the plugin as it was still showing in the list.
the words: deleting… were showing.
It deleted OK the second time.
there might be an issue there with a larger db / lots of tables? I don’t know.
Thanks again
Will investigate, thanks for the feedback!