Author Topic: Is there a way to implement on plugin that disables another plugin?  (Read 2534 times)

Offline puresun

  • Newbie
  • *
  • Posts: 1
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!!