[dev] Re: renameCategory() question
Chuck Hagenbuch
chuck at horde.org
Fri Jan 31 01:42:58 PST 2003
Quoting Hans Lellelid <hans at appliedsec.com>:
> Unfortunately, this isn't really enough -- since the old category name
> still exists in $_nameMap[]. Furthermore, if it is a parent category
> being renamed, then there are a number of changes that need to be
> changed in $_nameMap.
>
> Is there a method that I can call to update $_categories and $_nameMap
> for a particular category Id? When I used _loadById() it simply
> returned true (because it detected that $_categories[$cid] was already
> set).
No, you'll have to add that to the rename() method. Probably no one caught
this yet since it'll be right on the next page load...
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*
More information about the dev
mailing list