Skip to content

Commit

Permalink
Merge branch 'release-2.10.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Luis Gutierrez Dos Santos committed Jul 3, 2020
2 parents b5edf6e + f12793c commit a73801e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

composer.lock
vendor/
.idea/

2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 8 additions & 0 deletions scripts/update/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

Expand Down Expand Up @@ -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());
}
}

0 comments on commit a73801e

Please sign in to comment.