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

Chuck Hagenbuch chuck@horde.org
Mon, 8 Jul 2002 16:22:44 -0400


Quoting Michael M Slusarz <slusarz@bigworm.colorado.edu>:

>   Log:
>   Silence errors; make sure SQL deletes work for Categories.

How is this correct:

-        if ($this->exists($name)) {
+        if (!$this->exists($name)) {
             return new PEAR_Error('Removal failed');
         }

The category should have just been deleted, deletion fails if it still 
exists. Now you're saying it should fail if it's been successfully removed?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot