Skip to content

Commit

Permalink
Dev: Remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 28, 2018
1 parent 0eee329 commit 7b7ba8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions application/controllers/admin/surveyadmin.php
Expand Up @@ -1007,8 +1007,6 @@ public function surveygeneralsettings($iSurveyID)
$survey = Survey::model()->findByPk($iSurveyID);
$aData['oSurvey'] = $survey;



if (!(Permission::model()->hasSurveyPermission($iSurveyID, 'surveylocale', 'read') || Permission::model()->hasSurveyPermission($iSurveyID, 'surveysettings', 'read'))) {
Yii::app()->setFlashMessage(gT("You do not have permission to access this page."), 'error');
$this->getController()->redirect(array('admin/survey', 'sa'=>'view', 'surveyid'=>$iSurveyID));
Expand All @@ -1023,7 +1021,6 @@ public function surveygeneralsettings($iSurveyID)
//This method creates the text edition and the general settings
$aData['panels'] = [];

###
Yii::app()->loadHelper("admin/htmleditor");

$aData['scripts'] = PrepareEditorScript(false, $this->getController());
Expand Down Expand Up @@ -1076,7 +1073,6 @@ public function surveygeneralsettings($iSurveyID)

$aViewUrls[] = 'editLocalSettings_main_view';
$this->_renderWrappedTemplate('survey', $aViewUrls, $aData);

}

/**
Expand Down

0 comments on commit 7b7ba8b

Please sign in to comment.