Permalink
Browse files

PHP Deprecated: Assigning the return value of new by reference is dep…

…recated

git-svn-id: http://svn.php.net/repository/pear/pearweb/trunk@313971 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent f6fbff7 commit a9f12958b14eabdab3920dcee4e8ef6872049961 @CloCkWeRX CloCkWeRX committed Jul 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cron/apidoc-queue.php
View
2 cron/apidoc-queue.php
@@ -43,7 +43,7 @@ class apidocqueue extends PEAR_Common
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();

0 comments on commit a9f1295

Please sign in to comment.