cvs: pearweb /public_html release-upload.php

From: Date: Sat, 13 Aug 2005 05:09:58 +0000
Subject: cvs: pearweb /public_html release-upload.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3504@lists.php.net to get a copy of this message
cellog Sat Aug 13 01:09:58 2005 EDT Modified files: /pearweb/public_html release-upload.php Log: save a little memory by removing the unused $util PEAR_Common object http://cvs.php.net/diff.php/pearweb/public_html/release-upload.php?r1=1.64&r2=1.65&ty=u Index: pearweb/public_html/release-upload.php diff -u pearweb/public_html/release-upload.php:1.64 pearweb/public_html/release-upload.php:1.65 --- pearweb/public_html/release-upload.php:1.64 Sun Jul 3 20:41:50 2005 +++ pearweb/public_html/release-upload.php Sat Aug 13 01:09:58 2005 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: release-upload.php,v 1.64 2005/07/04 00:41:50 dufuz Exp $ + $Id: release-upload.php,v 1.65 2005/08/13 05:09:58 cellog Exp $ */ auth_require('pear.dev'); @@ -275,6 +275,7 @@ // complete the next screen. Janitor cron job recommended! $info = $util->infoFromTgzFile(PEAR_UPLOAD_TMPDIR . '/' . $tmpfile); if (class_exists('PEAR_PackageFile')) { + unset($util); // for memory reasons; $config = &PEAR_Config::singleton(); $pkg = &new PEAR_PackageFile($config); $info = &$pkg->fromTgzFile(PEAR_UPLOAD_TMPDIR . '/' . $tmpfile, PEAR_VALIDATE_NORMAL);

« previous php.pear.core (#3504) next »