Skip to content

Commit

Permalink
Dev: fixed dmocommand issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Jan 24, 2018
1 parent 17b9e87 commit acbefbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/commands/DemomodeCommand.php
Expand Up @@ -116,8 +116,7 @@ private function _createDemo(){
$surveysToActivate[] = $result['newsid'];
}
}
Yii::app()->loadHelper('admin/activate');

require_once(__DIR__.'/../helpers/admin/activate_helper.php');
array_map('activateSurvey', $surveysToActivate);
}

Expand Down

0 comments on commit acbefbc

Please sign in to comment.