Skip to content

Commit

Permalink
Merge branch 'release-12.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 28, 2025
2 parents 39f011e + c214f3c commit b753f9d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions actions/class.ItemExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
*/
class taoItems_actions_ItemExport extends tao_actions_Export
{
//TODO: This was created only to temporary handle QTI3 Export feature. Will be removed.
private const QTI3_HANDLER = 'oat\taoQtiItem\model\Export\Qti3Package\Handler';
private const FEATURE_FLAG_QTI3_EXPORT = 'FEATURE_FLAG_QTI3_EXPORT';

/**
Expand Down Expand Up @@ -140,8 +138,8 @@ protected function getResourcesToExport()
private function isHandlerEnabled(ExportHandlerInterface $handler): bool
{
if (
$handler instanceof self::QTI3_HANDLER
&& !$this->getPsrContainer()->get(FeatureFlagChecker::class)->isEnabled(self::FEATURE_FLAG_QTI3_EXPORT)
!$this->getPsrContainer()->get(FeatureFlagChecker::class)->isEnabled(self::FEATURE_FLAG_QTI3_EXPORT)
&& $handler instanceof oat\taoQtiItem\model\Export\Qti3Package\Handler
) {
return false;
}
Expand Down

0 comments on commit b753f9d

Please sign in to comment.