function __construct($aComponentGroup, $oComponentGroupManager)
 {
     parent::__construct();
     $this->aComponentGroup = $aComponentGroup;
     $this->oComponentGroupManager = $oComponentGroupManager;
     $pluginPath = $this->oComponentGroupManager->getPathToComponentGroup($this->aComponentGroup['name']);
     $this->upgradePath = $pluginPath . 'etc/changes/';
     $this->oDBUpgrader->path_changes = $this->upgradePath;
     $this->recoveryFile = MAX_PATH . '/var/plugins/recover/' . strtoupper($this->aComponentGroup['name']);
     /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
       $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
     $this->initDatabaseConnection();
     if (!file_exists(MAX_PATH . '/var/plugins/log')) {
         @mkdir(MAX_PATH . '/var/plugins/log');
     }
     $this->oLogger->setLogFile('plugins/log/' . $this->aComponentGroup['name'] . '_upgrade.log');
 }