Skip to content

Commit

Permalink
Fixed issue #5723: Mysterious killSession(); function
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12254 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c_schmitz committed Jan 30, 2012
1 parent a32018e commit c8a6439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -310,7 +310,7 @@ function run($surveyid,$args) {
}
if ($thissurvey['printanswers'] != 'Y')
{
killSession();
killSurveySession($surveyid);
}

sendCacheHeaders();
Expand Down Expand Up @@ -450,7 +450,7 @@ function run($surveyid,$args) {
//if($thissurvey['printanswers'] != 'Y' && $thissurvey['usecookie'] != 'Y' && $tokensexist !=1)
if ($thissurvey['printanswers'] != 'Y')
{
killSession();
killSurveySession($surveyid);
}

doHeader();
Expand Down

0 comments on commit c8a6439

Please sign in to comment.