Skip to content

Commit

Permalink
Dev: Removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent 771e796 commit dbcdadc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions application/controllers/QuestionAdministrationController.php
Expand Up @@ -1602,11 +1602,7 @@ public function actionCopyQuestion()
$oSurvey = Survey::model()->findByPk($surveyId);
$oQuestionGroup = QuestionGroup::model()->find('gid=:gid', array(':gid' => $questionGroupId));
$aData['surveyid'] = $surveyId; //this is important to load the correct layout (see beforeRender)

// $aData['sid'] = $surveyId; //important for renderGeneraltopbar(), should not be used anymore
// $aData['gid'] = $questionGroupId; //important for renderGeneraltopbar(), should not be used anymore
// $aData['qid'] = $questionIdToCopy; //important for renderGeneraltopbar(), should not be used anymore
// $aData['topBar']['showSaveButton'] = true;

//array elements for frontend (topbar etc.)
$aData['sidemenu']['landOnSideMenuTab'] = 'structure';
$aData['title_bar']['title'] = $oSurvey->currentLanguageSettings->surveyls_title
Expand Down

0 comments on commit dbcdadc

Please sign in to comment.