Skip to content

Commit

Permalink
Dev Removed some obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 21, 2014
1 parent c85494d commit 8b07a1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions application/helpers/common_helper.php
Expand Up @@ -1821,12 +1821,6 @@ function createFieldMap($surveyid, $style='short', $force_refresh=false, $questi
$fieldmap["startlanguage"]['group_name']="";
}

// Select which question IDs have default values
$_aDefaultValues = DefaultValue::model()->with(array('question' => array('condition' => 'question.sid=' . $surveyid)))->findAll();
$aDefaultValues = array();
foreach ($_aDefaultValues as $k => $v)
$aDefaultValues[] = $v->qid;

//Check for any additional fields for this survey and create necessary fields (token and datestamp and ipaddr)
$prow = Survey::model()->findByPk($surveyid)->getAttributes(); //Checked

Expand Down

0 comments on commit 8b07a1b

Please sign in to comment.