Skip to content

Commit

Permalink
Fixed issue #8716: do not clear custom token attribute data when remo…
Browse files Browse the repository at this point in the history
…ving a token table
  • Loading branch information
Grapsus committed Feb 14, 2014
1 parent 588906a commit fcddc33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion application/controllers/admin/tokens.php
Expand Up @@ -2199,7 +2199,6 @@ function kill($iSurveyId)
/* The user has confirmed they want to delete the tokens table */
{
Yii::app()->db->createCommand()->renameTable("{{{$oldtable}}}", "{{{$newtable}}}");
Survey::model()->updateByPk($iSurveyId, array('attributedescriptions' => "a:0:{}"));

//Remove any survey_links to the CPDB
SurveyLink::model()->deleteLinksBySurvey($iSurveyId);
Expand Down

0 comments on commit fcddc33

Please sign in to comment.