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

Chuck Hagenbuch chuck at horde.org
Sat Mar 1 22:05:09 PST 2003


Quoting Amith Varghese <amith at xalan.com>:

> 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'.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the dev mailing list