[dev] Re: [cvs] cvs commit: imp/config conf.php.dist

Jan Schneider jan@horde.org
Sun, 23 Dec 2001 21:30:40 +0100


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Can someone please try this patch:
> 
> I don't have quota stuff configured, but...
> 
> > -if (!empty($conf['hooks']['quota']) &&
> function_exists($conf['hooks']
> > ['quota'])) {
> > -      $quota_info = call_user_func($conf['hooks']['quota'], $imp);
> > -}
> > -
> 
> > +
> > +if (!empty($conf['hooks']['quota']) &&
> function_exists($conf['hooks']
> > ['quota'])) {
> > +    call_user_func($conf['hooks']['quota'], $imp);
> > +}
> 
> The result of the quota hook used to be assigned to a variable, and isn't
> 
> anymore. Is that right?

Yes, the variable is never used again but the output is done in the 
function itself instead.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::