Skip to content

Commit

Permalink
Dev: some cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Mar 30, 2017
1 parent 1f1e996 commit 91e46ac
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -1864,7 +1864,7 @@ private function makeLanguageChanger()
}

/**
* This method will set survey value in public property of the class
* This method will set survey values in public property of the class
* So, any value here set as $this->xxx will be available as $xxx after :
* $aPrivateVariables = $this->getArgs(); extract($aPrivateVariables);
* eg: $LEMsessid
Expand All @@ -1873,12 +1873,9 @@ private function makeLanguageChanger()
function setSurveySettings( $surveyid, $args )
{
$this->setVarFromArgs($args); // Set the private variable from $args

// Template settings
$this->initTemplate();

$this->initTemplate(); // Template settings
$this->setJavascriptVar();
$this->setArgs();
$this->setArgs();

extract($args);

Expand Down

0 comments on commit 91e46ac

Please sign in to comment.