function updatemain() { Legacy_ModuleInstallUtils::clearAllOfModuleTemplatesForUpdate($this->_mTargetXoopsModule, $this->mLog); Legacy_ModuleInstallUtils::installAllOfModuleTemplates($this->_mTargetXoopsModule, $this->mLog); $this->saveXoopsModule($this->_mTargetXoopsModule); $this->mLog->add('Version' . $this->_mTargetVersion / 100 . ' for update.'); $this->_mCurrentVersion = $this->_mTargetVersion; }
/** * Updates all of module templates. * * @access protected * @note You may do custom */ function _updateModuleTemplates() { Legacy_ModuleInstallUtils::clearAllOfModuleTemplatesForUpdate($this->_mTargetXoopsModule, $this->mLog); Legacy_ModuleInstallUtils::installAllOfModuleTemplates($this->_mTargetXoopsModule, $this->mLog); }