• Resolved birdog123

    (@birdog123)


    Hi.

    On single or multisite networks, how can we easily remove all database traces from the primary site and all subsites when wanted?

    Thanks.

    Greg

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ArielK

    (@arielk-1)

    Hi @birdog123,

    Once you remove the plugin from your site/network, the activity log table is deleted (dropped) without a trace on the site.

    See more here: https://github.com/pojome/activity-log/blob/master/classes/class-aal-maintenance.php#L89-L99

    Best,

    • This reply was modified 3 years ago by ArielK.
    Thread Starter birdog123

    (@birdog123)

    @arielk-1

    Thanks.

    There is no setting to tick to allow for the removal and does anything need to be done on the Super Admin Dashboard or not?

    Also, what if we just want to clear all database info on just one of the subsites that has it subsite only enabled as well vs. network activated?

    Thanks.

    Greg

    • This reply was modified 3 years ago by birdog123.
    • This reply was modified 3 years ago by birdog123.
    Plugin Author ArielK

    (@arielk-1)

    Hi @birdog123,

    No need to set anything.

    If you want to delete the data for only one site, you can do so by going to the WP-Admin of that site, under Activity Log menu > Settings > Delete Log Activities click Reset Database.

    Thanks

    Thread Starter birdog123

    (@birdog123)

    @arielk-1

    Thanks.

    I did delete the plugin from super admin and reinstalled it. I went to a subsite and the activity was still there though.

    I had to delete the log data in setting for that subsite to get right of the info FYI.

    In the past, I used Activity Log Network Activated and had it like that for years. How can I be sure all the subsite do not have data in tables knowing that deleting the plugin from super admin seemingly does not automatically delete data from tables because I just tried it and it left data on the subsite https://www.screencast.com/t/vw9ysxmQLr . I only currently have it enabled on one subsite but I am concerned with all the other subsites from the past. I am trying to avoid having to enable the plugin on each subsite to check and then manually delete data on each one.

    Thanks.

    ??

    Greg

    Plugin Author Yakir Sitbon

    (@kingyes)

    Hi @birdog123
    I appreciate your report. I have fixed the code in the dev branch now. When we deploy the next patch, it will be released.

    https://github.com/pojome/activity-log/commit/67b74df61cad19febfcd118559649edf316804b7

    Yakir

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘removing all database traces multisite’ is closed to new replies.