i notice that traces of some plugins i have installed and then uninstalled remain in the database and appear in some places in the site; such as the account statistics panel in user settings..
e.g. izap_videos - count - remains in the statistics panel even though i have uninstalled it.
does the garbage collector clear these details out? is it perhaps not running on my site?
or is there another way to do this?
(elgg 1.8.8)
thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
thats what 'test' sites are for..' ;-O or backup db or copy over yr real site to xampp (better;) to test. is there a similar but *fetch_ to delete_by_subtype() api call ? try that instead - you will instead -> *see what cud be deleted ;)
or..
raw sql to find the objects - then call api to cascade delete
http://www.onlineconversion.com/unix_time.htm
for unix date conv for sql code
select id from objects whwre xxxx_data < 12345600000;
@Satheesh PM: maybe this plugin might be of some use to you: http://community.elgg.org/plugins/836423/1.8.1/elgg-18-expirationdate. It won't be ready to use for deleting existing older blog entries but it could serve as a starting point to implement what you have in mind. You could use the plugin for automatic later deletion of newly created blog entries when you set an expiration date when they are created (blog create event). For existing blog entries you could use at least the code snippet of the plugin that is used to delete expired entitires within your own custom script after only little modifications.
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.