From 44654f9b0d075b01734ba2f7e9c689cd14001ffe Mon Sep 17 00:00:00 2001 From: liyang Date: Fri, 12 Apr 2024 17:09:11 +0800 Subject: [PATCH] - Remove invalid variables. --- test/lib/utils.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/lib/utils.php b/test/lib/utils.php index b0c4a3f6e8..94d1ae41fb 100755 --- a/test/lib/utils.php +++ b/test/lib/utils.php @@ -26,8 +26,6 @@ include LIB_ROOT . 'init.php'; */ function getVersionType($version) { - global $config; - if(strpos($version, 'max') !== false) return 'max'; if(strpos($version, 'biz') !== false) return 'biz'; if(strpos($version, 'pro') !== false) return 'pro'; @@ -97,7 +95,7 @@ function ztfExtract($dir) * Get to the directory of test cases. * * @access public - * @return void + * @return array */ function getCaseModelDir() {