mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
* fix warning
This commit is contained in:
parent
46527b3f5a
commit
03a52cd97c
1 changed files with 2 additions and 2 deletions
|
@ -257,6 +257,8 @@ class PEAR_Installer extends PEAR_Common
|
|||
}
|
||||
$oldcwd = getcwd();
|
||||
$need_download = false;
|
||||
// ==> XXX should be removed later on
|
||||
$flag_old_format = false;
|
||||
if (preg_match('#^(http|ftp)://#', $pkgfile)) {
|
||||
$need_download = true;
|
||||
} elseif (!@is_file($pkgfile)) {
|
||||
|
@ -341,8 +343,6 @@ class PEAR_Installer extends PEAR_Common
|
|||
// ----- Look for existing package file
|
||||
$descfile = $tmpdir . DIRECTORY_SEPARATOR . 'package.xml';
|
||||
|
||||
// ==> XXX This part should be removed later on
|
||||
$flag_old_format = false;
|
||||
if (!is_file($descfile)) {
|
||||
// ----- Look for old package archive format
|
||||
// In this format the package.xml file was inside the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue