diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59e8369 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ + +composer.lock +vendor/ +.idea/ + diff --git a/manifest.php b/manifest.php index 92d5be3..a558113 100644 --- a/manifest.php +++ b/manifest.php @@ -25,7 +25,7 @@ 'label' => 'QTI PCI samples', 'description' => '', 'license' => 'GPL-2.0', - 'version' => '2.9.1', + 'version' => '2.10.1', 'author' => 'Open Assessment Technologies', 'requires' => array( 'qtiItemPci' => '>=1.1.0', diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php index af8b697..16f209c 100644 --- a/scripts/update/Updater.php +++ b/scripts/update/Updater.php @@ -25,6 +25,9 @@ use oat\qtiItemPci\model\IMSPciModel; use oat\taoQtiItem\model\HookRegistry; +/** + * @deprecated use migrations instead. See https://github.com/oat-sa/generis/wiki/Tao-Update-Process + */ class Updater extends \common_ext_ExtensionUpdater { @@ -116,5 +119,10 @@ public function update($initialVersion) $this->setVersion('2.8.0'); } $this->skip('2.8.0', '2.9.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()); } }