[Tickets #5703] Re: error when delete queue

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Sep 6 10:27:12 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5703
-----------------------------------------------------------------------
 Ticket             | 5703
 Updated By         | lee_tao86 at yahoo.com
 Summary            | error when delete queue
 Queue              | Whups
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


lee_tao86 at yahoo.com (2007-09-06 03:27) wrote:

UPS..i'm sorry..this is the right one

 this is the code :

     function deleteQueue($queueId)
     {
         $perm =
&$GLOBALS['perms']->getPermission("whups:queues:$queueId");
        if (is_a($perm, 'PEAR_Error')) {
             return $perm;  
         }

        return $perm->delete(); --------------------> ****THIS IS THE 
 ERROR LINE***
}




More information about the bugs mailing list