Skip to content

Commit

Permalink
Dev: allow to uninstall core templates (only default can't be uninstall)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Nov 14, 2017
1 parent b036291 commit d72e172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/models/TemplateConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ class='btn btn-danger'>
}else{
$sButtons = $sEditorLink.'<br><br>'.$OptionLink;

if (!$this->isStandard){
$sButtons .= '<br><br>'.$sUninstallLink ;
if ($this->template_name != 'default'){
$sButtons .= '<br><br>'.$sUninstallLink;
}
}

Expand Down

0 comments on commit d72e172

Please sign in to comment.