1
0
Fork 0

Remove unnecessary @ operator, refs #543

pull/548/merge
Jordi Boggiano 2012-04-08 20:05:04 +02:00
parent f21ce43a52
commit 17370e3812
1 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,11 @@ class PearDownloader extends TarDownloader
protected function extract($file, $path)
{
parent::extract($file, $path);
@unlink($path . '/package.sig');
@unlink($path . '/package.xml');
if (file_exists($path . '/package.sig')) {
unlink($path . '/package.sig');
}
if (file_exists($path . '/package.xml')) {
unlink($path . '/package.xml');
}
}
}