Fix #2113 unnecessary variable assignment

This commit is contained in:
Kijin Sung 2023-05-06 22:03:28 +09:00
parent 0484d8db27
commit e2223b776a

View file

@ -1522,12 +1522,10 @@ class ModuleModel extends Module
} }
} }
// Get information of the module // Get information of the module
$info = NULL;
$info = self::getModuleInfoXml($module_name); $info = self::getModuleInfoXml($module_name);
if(!$info) continue; if(!$info) continue;
$info->module = $module_name; $info->module = $module_name;
$info->category = $info->category;
$info->created_table_count = $created_table_count; $info->created_table_count = $created_table_count;
$info->table_count = $table_count; $info->table_count = $table_count;
$info->path = $path; $info->path = $path;