Skip to content

Commit

Permalink
Dev: all survey theme options saved, not just for current theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jul 26, 2018
1 parent 997b29f commit 26316d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions application/controllers/admin/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1103,9 +1103,6 @@ protected function actionUpdateSurveyLocaleSettingsGeneralSettings($iSurveyID)
$oSurvey->sid
);

if (is_a($currentConfiguration, "TemplateConfiguration")) {
TemplateConfiguration::model()->deleteByPk($currentConfiguration->id);
}
}
$oSurvey->template = $new_template;

Expand Down

0 comments on commit 26316d7

Please sign in to comment.