Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.9.5

Bug #11336 REST 1.0 - 1.1 inconcistency
Submitted: 2007-06-17 07:12 UTC Modified: 2007-06-18 23:31 UTC
From: tias Assigned: tias
Status: Closed Package: PEAR (version 1.6.0)
PHP Version: Irrelevant OS:
Roadmaps: 1.6.1    
Subscription  


 [2007-06-17 07:12 UTC] tias (Tias Guns)
Description: ------------ The REST function that lists the packages in a category, is in REST1.0: listCategory() and in REST1.1: listPackagesInCategory() They should have the same name. --- 11_orig.php 2007-06-17 13:46:19.000000000 +0200 +++ 11.php 2007-06-17 13:46:31.000000000 +0200 @@ -227,9 +227,9 @@ * @param string $category name of the category * @param boolean $info also download full package info * @return array of packagenames */ - function listPackagesInCategory($base, $category, $info=false) + function listCategory($base, $category, $info=false) { if ($info == false) { $url = '%s'.'c/%s/packages.xml'; } else {

Comments

 [2007-06-18 23:31 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.