[dev] Re: [imp] whitelist patch...

Amith Varghese amith at xalan.com
Sat Mar 1 22:07:38 PST 2003


> > How does Horde support constants (error codes) shared across multiple
> > apps? If I want to define BLACKLIST_ADDRESS_EXISTS or
> > BLACKLIST_ADDRESS_ADDED where would I do it? I don't see a constants.php
> > for Horde itself.  Or is the only way to do this is to add it to IMP,
> > Sam, (and even Ingo)
> 
> No, no constants. The error code would be a Notification class -
> 'horde.success', 'horde.error', 'horde.message', or 'horde.warning'.
> 

Ah... makes sense now.

thanks
amith



More information about the dev mailing list