[Tickets #5703] Re: error when delete queue

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Sep 6 10:25:25 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:25) wrote:

this is the code :

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

        return $perm->delete();
    }




More information about the bugs mailing list