svn: /pear/pearweb/trunk/cron/ apidoc-queue.php
[email protected] ("Daniel O'Connor") Sat, 30 Jul 2011 16:10:24 +0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
--c26f2ece884b1f337f612424b2fda0fd932d2d37
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
clockwerx Sat, 30 Jul 2011 16:10:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313971
Log:
PHP Deprecated: Assigning the return value of new by reference is deprecated
Changed paths:
U pear/pearweb/trunk/cron/apidoc-queue.php
Modified: pear/pearweb/trunk/cron/apidoc-queue.php
===================================================================
--- pear/pearweb/trunk/cron/apidoc-queue.php 2011-07-30 16:02:30 UTC (rev 313970)
+++ pear/pearweb/trunk/cron/apidoc-queue.php 2011-07-30 16:10:24 UTC (rev 313971)
@@ -43,7 +43,7 @@
function infoFromTgzFile($file)
{
$config = &PEAR_Config::singleton();
- $packagefile = &new PEAR_PackageFile($config);
+ $packagefile = new PEAR_PackageFile($config);
$pf = &$packagefile->fromTgzFile($file, PEAR_VALIDATE_NORMAL);
if (PEAR::isError($pf)) {
$errs = $pf->getUserinfo();
--c26f2ece884b1f337f612424b2fda0fd932d2d37--