php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59979 Change queue->delete() to not require a queue name as parameter
Submitted: 2011-09-30 16:55 UTC Modified: 2011-10-10 05:28 UTC
From: pdezwart@php.net Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.5 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pdezwart@php.net
New email:
PHP Version: OS:

 

 [2011-09-30 16:55 UTC] 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();


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-10 05:28 UTC] pdezwart@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 [2011-10-10 05:28 UTC] pdezwart@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 06:01:27 2025 UTC