Req #59979 [Opn->Csd]: Change queue->delete() to not require a queue name as parameter

From: Date: Mon, 10 Oct 2011 05:28:23 +0000
Subject: Req #59979 [Opn->Csd]: Change queue->delete() to not require a queue name as parameter
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8683@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=59979&edit=1 ID: 59979 Updated by: pdezwart@php.net Reported by: pdezwart@php.net Summary: Change queue->delete() to not require a queue name as parameter -Status: Open +Status: Closed Type: Feature/Change Request Package: amqp Operating System: All PHP Version: 5.3.5 -Assigned To: +Assigned To: pdezwart Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2011-09-30 16:55:12] pdezwart@php.net Description: ------------ The signature of $queue->delete() requires the passing of a queue name. This is a poor API. The following statements should work: AMQPQueue::delete("queue1"); $q = new AMQPQueue("queue1"); $q->delete(); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=59979&edit=1

« previous php.pecl.dev (#8683) next »