Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: puresun on December 13, 2011, 03:30:31 PM

Title: Is there a way to implement on plugin that disables another plugin?
Post by: puresun on December 13, 2011, 03:30:31 PM
I'm trying to implement a feature control plugin in my webmail app using RoundCube.

I know that I could just save the control flags in session and have each plugin read the value from session in its init() method then return when necessary. But I'll like a much cleaner plugin just to do that.

Currently I'm using the render_page hook to remove certain buttons and contents from the output page, but this is taking a long time and seems not a very smart thing to do.

Does anybody know a way to disable other plugins in roundcube using a plugin?

Thanks!!