Yes, I'm not sure why we're validating after insert/update, that doesn't
quite make sense.

Greetings
R


On Mon, Jan 28, 2013 at 1:25 AM, Drak <notifications@github.com> wrote:

> In src/lib/util/CategoryUtil.php:
>
> >              }
> > -            $cat->insert();
> > -            $cat->update();
> > +//            if (!$cat->validate('admin')) {
>
> So basically the $cat->validate('admin') is not necessary here then since
> we've already written the object in line 73
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zikula/core/pull/687/files#r2787878>.
>
>