Avoid warning when removing plugin zip archive
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue