Ignore:
Timestamp:
Feb 19, 2021, 10:12:21 AM (3 years ago)
Author:
chronos
Message:
  • Fixed: Check if core upgrade is needed and allow to perform upgrade.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r899 r903  
    151151    $this->ModuleManager->LoadModule(dirname(__FILE__).'/../Packages/Common/Modules/ModuleManager.php');
    152152    if (file_exists($this->ModuleManager->FileName)) $this->ModuleManager->LoadState();
    153     $this->ModuleManager->StartAll(array(ModuleCondition::Enabled));
     153    if (ModuleSetup::Cast($ModuleSetup)->CheckState())
     154        {
     155      $this->ModuleManager->StartAll(array(ModuleCondition::Enabled));
     156    }
    154157  }
    155158
Note: See TracChangeset for help on using the changeset viewer.