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

Bug #10080 PEAR_Config::singleton() should be able to be used in update()
Submitted: 2007-02-12 22:19 UTC Modified: 2007-02-13 05:37 UTC
From: cellog Assigned: farell
Status: Closed Package: PEAR_PackageUpdate (version 0.6.0)
PHP Version: Irrelevant OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2007-02-12 22:19 UTC] cellog (Greg Beaver)
Description: ------------ using new PEAR_Config() prevents any possible advantages of caching package REST information. This can cause major drain of resources when, for instance, it is used in a cron job at pear.php.net to update the website. Please add a preference to use PEAR_Config::singleton() instead of new PEAR_Config. This is critical for the PEAR website, and not a feature request.

Comments

 [2007-02-13 05:37 UTC] farell (Laurent Laville)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/PEAR_PackageUpdate