mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix warning if need_update attribute is not set
This commit is contained in:
parent
028a56a678
commit
63e81751b1
1 changed files with 2 additions and 4 deletions
|
|
@ -1631,6 +1631,8 @@ class ModuleModel extends Module
|
||||||
$info->table_count = $table_count;
|
$info->table_count = $table_count;
|
||||||
$info->path = $path;
|
$info->path = $path;
|
||||||
$info->admin_index_act = $info->admin_index_act ?? null;
|
$info->admin_index_act = $info->admin_index_act ?? null;
|
||||||
|
$info->need_install = false;
|
||||||
|
$info->need_update = false;
|
||||||
|
|
||||||
if(!Context::isBlacklistedPlugin($module_name, 'module'))
|
if(!Context::isBlacklistedPlugin($module_name, 'module'))
|
||||||
{
|
{
|
||||||
|
|
@ -1639,10 +1641,6 @@ class ModuleModel extends Module
|
||||||
{
|
{
|
||||||
$info->need_install = true;
|
$info->need_install = true;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$info->need_install = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if it is upgraded to module.class.php on each module
|
// Check if it is upgraded to module.class.php on each module
|
||||||
$oDummy = self::getModuleInstallClass($module_name);
|
$oDummy = self::getModuleInstallClass($module_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue