[horde] Disabling a module via a hook

Kevin M. Myer kevin_myer at iu13.org
Wed Nov 2 15:21:56 PST 2005


Quoting Mike Place <mp at xmission.com>:

> Hi,
>
> Is it possible to set a registry value via a hook? Specifically, I'm
> trying to disable certain modules via the result of an SQL lookup. My
> understanding thus far is that preferences can be changed as well as
> returning the results of a hook to various applications, but I see no
> method for modifying information in the session taken from registry.php.
> Could some kind soul let me know if this is possible, or perhaps give a
> brief example of how one might do this?

If you're looking to enable/disable modules on a per-user/group basis, 
you're better served using the Horde Permissions settings.  What are 
the expected results of your SQL lookup?  In other words, what is your 
rationale for wanting to do this?

Kevin

-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org




More information about the horde mailing list