thewire and other plugins show items in the activity river when plugin is disabled. Has any body else experienced this?
going a bit deeper into it, it seems like it would be usefull for the function " get_river_items " to have a whitelist or blacklist option for plugins via type, like " 'allowed_types' => array('object','blog','thewire') " as seen on the function " elgg_list_registered_entities "
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.
- Brett@brett.profitt
Brett - 0 likes
You must log in to post replies.This could be considered an architectural flaw in Elgg's plugin system / entity system. Currently there is no way to tell Elgg core that entities were created by a certain plugin and need to be disabled / deleted when that plugin is disabled. Filtering on type is somewhat effective but not foolproof.
I agree that get_river_items() can be more flexible but as for your current problem, you will need to write a manual query to delete from the rivertable where type = object and subtype = thewire.