* @deprecated use migrations instead. See https://github.com/oat-sa/generis/wiki/Tao-Update-Process */ class taoLtiBasicOutcome_scripts_update_Updater extends \common_ext_ExtensionUpdater { /** * * @param string $currentVersion * @return string $versionUpdatedTo */ public function update($initialVersion) { $currentVersion = $initialVersion; if ($currentVersion == '2.6') { $currentVersion = '2.6.1'; } $this->setVersion($currentVersion); $this->skip('2.6.1', '3.3.1'); //Updater files are deprecated. Please use migrations. //See: https://github.com/oat-sa/generis/wiki/Tao-Update-Process $this->setVersion($this->getExtension()->getManifest()->getVersion()); } }