Skip to content

Commit

Permalink
Dev: removed unused call to getFieldFromParentConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Aug 14, 2017
1 parent 6c181b4 commit 0fc6a34
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions application/models/TemplateConfiguration.php
Expand Up @@ -530,12 +530,6 @@ protected function getFrameworkAssetsReplacement( $sType )
$sFieldName = 'cssframework_'.$sType;
$aFieldValue = (array) json_decode($this->$sFieldName);

// Full inheritance
if ($this->$sFieldName == "inherit"){
$parentFieldValue = $this->getFieldFromParentConfiguration($sFieldName);
$aFieldValue = (array) json_decode($parentFieldValue);
}

$aReplacements = array();
if (!empty( $aFieldValue )){
$aAssetsToReplace = (array) $aFieldValue['replace'];
Expand Down

0 comments on commit 0fc6a34

Please sign in to comment.