Skip to content

Commit

Permalink
Dev: Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 5, 2018
1 parent 7cf628f commit bdb1380
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions application/controllers/admin/assessments.php
Expand Up @@ -48,26 +48,25 @@ public function index($iSurveyID)
Yii::app()->setConfig("assessmentlangs", $languages);

if ($sAction == "assessmentadd") {
$this->_add($iSurveyID);
$this->_add($iSurveyID);
}

if ($sAction == "assessmentupdate") {
$this->_update($iSurveyID);
$this->_update($iSurveyID);
}

if ($sAction == "assessmentopenedit") {
$this->_edit($iSurveyID);
$this->_edit($iSurveyID);
}

if ($sAction == "assessmentdelete") {
$this->_delete($iSurveyID, $_POST['id']);
$this->_delete($iSurveyID, $_POST['id']);
}

if ($sAction == "asessementactivate") {
$this->_activateAsessement($iSurveyID);
$this->_activateAsessement($iSurveyID);
}


$this->_showAssessments($iSurveyID, $sAction);
} else {
Yii::app()->setFlashMessage(gT("You do not have permission to access this page."), 'error');
Expand Down

0 comments on commit bdb1380

Please sign in to comment.