fix: remove commented line

pull/93/head
Luciano Righetti 2022-03-08 15:54:38 +01:00
parent 9a2c6a4c4b
commit 1a5ee2767f
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ class MetaTemplatesController extends AppController
if (!is_numeric($template_id)) {
throw new NotFoundException(__('Invalid {0} for provided ID.', $this->MetaTemplates->getAlias(), $template_id));
}
// $metaTemplate = $this->MetaTemplates->get($template_id);
$metaTemplate = $this->MetaTemplates->find()->where([
'id' => $template_id,
'enabled' => 1