[imp] Preferences
Jon Parise
jon@horde.org
Mon, 12 Nov 2001 11:30:18 -0500
On Mon, Nov 12, 2001 at 11:09:20AM -0500, Cliff Green wrote:
> So, if I'm reading you correctly, there's at least four possibilities:
> 1) leave it as it is and put up with those log messages
> 2) add/create at least a place-holder pref for those applications with none
> 3) add logic to the Prefs drivers to recognize apps with no prefs structures
> 4) remove the (count($prefs == 0) test
>
> I'd suggest that #2, above, offers structural consistency between apps, and
> the least impact on the current logic.
I just modified the test to throw an PEAR_Error object instead.
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House Member