Skip to content

Commit

Permalink
Dev: removed deactivatedebug.js (should be somewhere else)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jul 14, 2017
1 parent 41efc9c commit e3d39a3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions application/models/TemplateManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,6 @@ private function createTemplatePackage($oTemplate)
$aJsFiles = array_merge($aJsFiles,$aJsFilesDir);
}

if (Yii::app()->getConfig('debug') == 0) {
Yii::app()->clientScript->registerScriptFile( Yii::app()->getConfig("generalscripts"). 'deactivatedebug.js', CClientScript::POS_END);
}

$this->sPackageName = 'survey-template-'.$this->sTemplateName;
$sTemplateurl = $oTemplate->getTemplateURL();

Expand Down

0 comments on commit e3d39a3

Please sign in to comment.