[dev] Re: [cvs] commit: horde/lib Category.php horde/lib/Category sql.php

Marko Djukic mdjukic at horde.org
Mon Dec 29 18:17:21 PST 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Marko Djukic <mdjukic at horde.org>:
>
> >   Log:
> >   - update also the name stored in the category object.
> >   not sure if this can be done in a simpler way. where is addCat called and
> > only  a string passed as a category name? could we have addCat require only
> > objects to be passed as $category?
>
> No. :)

yeah, i figured it out shortly after asking this :)

addCategory() is recursive when having to auto-create non existant parents, and
then it passes only a string... :)

m.


More information about the dev mailing list