Remove unnecessary @ operator, refs #543

main
Jordi Boggiano 12 years ago
parent f21ce43a52
commit 17370e3812

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

Loading…
Cancel
Save