Avoid warning when removing plugin zip archive
This commit is contained in:
committed by
fguillot
parent
a66c357f4e
commit
b08760c5fc
@@ -133,7 +133,8 @@ class Installer extends \Kanboard\Core\Base
|
||||
*/
|
||||
protected function cleanupArchive(ZipArchive $zip)
|
||||
{
|
||||
unlink($zip->filename);
|
||||
$filename = $zip->filename;
|
||||
$zip->close();
|
||||
unlink($filename);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user