[horde] Disabling a module via a hook

Chuck Hagenbuch chuck at horde.org
Thu Nov 3 03:01:47 PST 2005


Quoting Mike Place <mp at xmission.com>:

> 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?

Well, registry.php _is_ PHP code. So you can do whatever you need with it.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the horde mailing list