Quote:
Originally Posted by Manichean
I know the discussion has drifted a little, and I'm no developer, but I just had an idea re managing plugin config stored in the db: I don't know if there is one already, but shouldn't it be possible to add an uninstall function to plugins that gets called when the user selects to remove the plugin via the plugins dialog? That way, each plugin could (and should) clean up after itself before it gets removed.
|
That's a possibility, the problem is it is not very reliable. You can in principle "remove" a plugin by just deleting its zip file in the calibre config directory. In such a case calibre has no way to run plugin specific cleanup code.