[dev] prefix display

Chuck Hagenbuch chuck@horde.org
Mon, 13 Nov 2000 15:13:41 -0500


Quoting Anil Madhavapeddy <anil@recoil.org>:

> I was looking at stripping out the prefix in the success messages
> displayed from create/rename/delete, but the relevant functions in
> folder.php just get passed the fully qualified name.
> 
> Should we change the API slightly, or let the success message 
> be raised by the code calling the function?
> (I prefer the former option)

Hmmm. Neither are great, but I'd like to keep the API simple and logical to a
point that it's not inconceivable that it'd be used outside IMP. Which to me
would indicate that maybe having the folder functions return any messages (maybe
in a PEAR_Error:: object) would be the better way to go.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues