Skip to content

Commit

Permalink
Dev: review comment on addFileReplacementInDB
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jul 14, 2017
1 parent d275678 commit 67a885c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/models/TemplateManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,9 @@ public function extendsFile($sFile)

/**
* Add a file replacement entry in DB
* It first tries to get the oTemplateConfigurations for this template (can be void if edited from template, can be numerous if survey local config)
* If it exists, it call $oTemplateConfiguration->oTemplateConfiguration($sFile, $sType) for each one of them
* In the first place it tries to get the all the configuration entries for this template
* (it can be void if edited from template editor, or they can be numerous if the template has local config at survey/survey group/user level)
* Then, it call $oTemplateConfiguration->addFileReplacementInDB($sFile, $sType) for each one of them.
*
* @param string $sFile the file to replace
* @param string $sType css|js
Expand Down

0 comments on commit 67a885c

Please sign in to comment.