[dev] registry question
mailling@bigfoot.com
mailling@bigfoot.com
Thu, 26 Jul 2001 11:48:41 -0500
as a fast turned around, I propose:
to replace in user.inc:
<?php foreach ($registry->applications as $app => $info) {
if (isset($registry->services[$app]['horde']['summary']) ) {
echo '<td valign="top">' . $registry->callByPackage($app,
'horde/summary') . '</td>';
}
}
?>
by
<?php foreach ($registry->applications as $app => $info) {
if (isset($registry->services[$app]['horde']['summary']) )
{
$ret=$registry->callByPackage($app, 'horde/summary');
//It seems that pear_error in uppercase is not working?
if (!is_subclass_of($ret, 'pear_error'))
echo '<td valign="top">' . $ret . '</td>';
}
}
?>
At 02:24 7/26/2001 -0400, you wrote:
>Quoting mailling@bigfoot.com:
>
> > To avoid that, either we change callByPackage or we have to adapt user.inc
>
>user.inc should handle the PEAR_Errors. Really, there should be a lot more
>logic behind the summary stuff - layout choices, etc...
>
>-chuck
>
>--
>Charles Hagenbuch, <chuck@horde.org>
>Some fallen angels have their good reasons.
>
>--
>Horde Developers mailing list: http://horde.org/
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: dev-unsubscribe@lists.horde.org