Since I got a bit of a problem with Open Calais, I tried uninstalling the module (and all sub-modules, except the Geo thing, cause I didn't install it in the first place). I also uninstalled the RDF module, so there shouldn't be any trace of Calais anywhere.
The problem, though, is that the module doesn't clean up after itself.
1) All the vocabularies it creates, are still there. I can clean the vocabularies up manually. It just shouldn't be like that.
2) All info entered in the DB table variables still is there! In other words: it leaves useless data in a table, decreasing performance (table's a bit bigger to go through, due to dead data). It also doesn't allow users to do a clean re-install of the module if that's ever necessary.
Can the module please clean up after itself?
Comments
Comment #1
Raf commentedJust found another thing that should be cleaned up.
There's still the following table in the DB as well:
rdf_data_calais_node
Comment #2
Starminder commentedAdd to this:
Fatal error: Call to undefined function taxonomy_del_vocabulary() in /home/hoslot5/public_html/sites/all/modules/opencalais/calais.install on line 549
After upgrading to D7, wanted calais to clean up taxonomy since I am having issues there.
Comment #3
Starminder commentedThis is pure evil. The blog content type has entirely too many calais related fields. Cleaning up taxonomy and content types is ridiculous. This module should clean up after itself.
Comment #4
jstreifel commentedagreed! I am going through and deleting the vocabularies created by Calais one by one. What a pain!
Comment #5
jaykainthola commentedAgreed. It should be automatically deleted all the information related opencalais when we uninstall the module.
Comment #6
jec006 commentedHi Guys,
There is the option for OpenCalais to delete everything. It is available in the OC settings page and entitled 'Remove all OpenCalais fields when OpenCalais is uninstalled [WARNING]'.
If this is checked when the module is uninstalled, all fields and vocabularies will be removed (or should be at least). The variables should be deleted automatically regardless.
The reason this is a setting is because some people may want to stop using OpenCalais but not lose the tags that it generated in the past. We could possibly default it to on, but it seemed to me to be better to default to safe (no data loss) mode.
Hope that helps
Comment #7
jec006 commentedSorry, my comment was for the 7.x-1.x version, I see this is against the 6.x version.
Comment #8
jaykainthola commented@Jec006 Thanks for your comment. I also checked after your comment that this is for 6.x not for 7.x version.