Skip to content

Commit

Permalink
Dev Removed last traces of obsolete question type Z
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 23, 2021
1 parent 3012540 commit 0b3110a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions application/core/QuestionTypes/LoadQuestionTypes.php
Expand Up @@ -24,7 +24,6 @@ public static function loadAll()
Yii::import('questiontypes.Language.*');
Yii::import('questiontypes.ListDropdown.*');
Yii::import('questiontypes.ListRadio.*');
Yii::import('questiontypes.ListRadioFlexible.*');
Yii::import('questiontypes.ListWithComment.*');
Yii::import('questiontypes.LongFreeText.*');
Yii::import('questiontypes.MultipleChoice.*');
Expand Down Expand Up @@ -118,9 +117,6 @@ public static function load($type)
case Question::QT_Y_YES_NO_RADIO:
Yii::import('questiontypes.YesNoRadio.*');
break;
case Question::QT_Z_LIST_RADIO_FLEXIBLE:
Yii::import('questiontypes.ListRadioFlexible.*');
break;
case Question::QT_COLON_ARRAY_MULTI_FLEX_NUMBERS:
Yii::import('questiontypes.ArrayMultiFlexNumbers.*');
break;
Expand Down
5 changes: 0 additions & 5 deletions application/models/Question.php
Expand Up @@ -1233,9 +1233,6 @@ public function getRenderererObject($aFieldArray, $type = null)
case Question::QT_Y_YES_NO_RADIO:
$oRenderer = new RenderYesNoRadio($aFieldArray);
break;
case Question::QT_Z_LIST_RADIO_FLEXIBLE:
$oRenderer = new RenderListRadioFlexible($aFieldArray);
break;
case Question::QT_COLON_ARRAY_MULTI_FLEX_NUMBERS:
$oRenderer = new RenderArrayMultiFlexNumbers($aFieldArray);
break;
Expand Down Expand Up @@ -1311,8 +1308,6 @@ public function getDataSetObject($type = null)
return new DataSetShortFreeText($this->qid);
case Question::QT_Y_YES_NO_RADIO:
return new DataSetYesNoRadio($this->qid);
case Question::QT_Z_LIST_RADIO_FLEXIBLE:
return new DataSetListRadioFlexible($this->qid);
case Question::QT_COLON_ARRAY_MULTI_FLEX_NUMBERS:
return new DataSetArrayMultiFlexNumbers($this->qid);
case Question::QT_SEMICOLON_ARRAY_MULTI_FLEX_TEXT:
Expand Down

0 comments on commit 0b3110a

Please sign in to comment.