@mattab opened this issue on March 3rd 2009

Steps - add hooks in SitesManager.deleteSite - review all existing data in the DB related to a given website - make sure all plugins listen to SitesManager.deleteSite and delete the website data from the DB

@anonymous-piwik-user commented on January 21st 2011

I think "low" priority isn't appropriate.

Deleting a site from database cut many many mb! Just think about the visit_log, and shrinking visit_log leads to a optimized archive process, smaller archives tables, a quicker db, etc.

@robocoder commented on March 5th 2011

(In [4028]) refs #585 - add SitesManager.deleteSite hook

@robocoder commented on March 5th 2011

(In [4031]) fixes #2148, refs #585

@mattab commented on April 28th 2011

(In [4590]) Fixes #585 Now, every entity linked to a site is deleted when a site is deleted. Only the logs and archives are not deleted, because it could result in severe data loss. Better deal with this later on..

This issue was closed on April 28th 2011
Powered by GitHub Issue Mirror