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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC