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 f8c4170 commit e7979e1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 79 deletions.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion application/helpers/admin/activate_helper.php
Expand Up @@ -202,7 +202,7 @@ function checkQuestions($postsid, $iSurveyID)
->join('{{question_l10ns}} ls', 'ls.qid=q.qid')
->andWhere("(SELECT count(*) from {{answers}} as a where a.qid=q.qid and scale_id=0)=0")
->andWhere("sid=:sid", [':sid' => $iSurveyID])
->andWhere("type IN ('" . Question::QT_F_ARRAY_FLEXIBLE_ROW . "', '" . Question::QT_H_ARRAY_FLEXIBLE_COLUMN . "', '" . Question::QT_Z_LIST_RADIO_FLEXIBLE . "', '" . Question::QT_1_ARRAY_MULTISCALE . "')")
->andWhere("type IN ('" . Question::QT_F_ARRAY_FLEXIBLE_ROW . "', '" . Question::QT_H_ARRAY_FLEXIBLE_COLUMN . "', '" . Question::QT_1_ARRAY_MULTISCALE . "')")
->andWhere("q.parent_qid=0");
$chkresult = $chkquery->queryAll();
foreach ($chkresult as $chkrow) {
Expand Down

0 comments on commit e7979e1

Please sign in to comment.