From 0ca73ac11bbb26106f331e4fc06b3f57574e45ab Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Mon, 8 Jul 2024 03:56:14 +0000 Subject: [PATCH] * [misc] remoce unused code. --- module/install/zen.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/install/zen.php b/module/install/zen.php index 5270d047c2..e058c9c590 100644 --- a/module/install/zen.php +++ b/module/install/zen.php @@ -336,7 +336,6 @@ class installZen extends install */ protected function unzipFile(string $path, string $file): bool { - /* 解压文件到指定目录。 */ $this->app->loadClass('pclzip', true); $zip = new pclzip($file); $files = $zip->listContent(); @@ -359,7 +358,6 @@ class installZen extends install $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $fileContents = curl_exec($ch); - $info = curl_getinfo($ch); if (curl_errno($ch)) {