chg: Removed useless comments

pull/93/head
Sami Mokaddem 2022-02-23 08:11:24 +01:00
parent c0b6925aa5
commit bd14d52571
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 0 additions and 2 deletions

View File

@ -64,7 +64,6 @@ foreach ($templatesUpdateStatus as $uuid => $status) {
} else {
// Depends on the strategy used by the update_all function. Right now, every update create a brand new template
// leaving existing data untouched. So regardless of the conflict, the new template will be created
// if (!empty($status['new']) || !empty($status['automatically-updateable'])) {
if (!empty($status['new']) || empty($status['up-to-date'])) {
$numberOfUpdates += 1;
$tableHtml .= sprintf('<td>%s</td>', $this->Bootstrap->icon('check', ['class' => 'text-success']));

View File

@ -12,7 +12,6 @@
- use these to define dynamic form fields, or anything that will feed into the regular fields via JS population
* - submit: The submit button itself. By default it will simply submit to the form as defined via the 'model' field
*/
// debug(\Cake\Utility\Hash::extract($entity, 'MetaTemplates.{n}.meta_template_fields.{n}.metaFields.{n}.value'));
$this->Form->setConfig('errorClass', 'is-invalid');
$modelForForm = empty($data['model']) ?
h(\Cake\Utility\Inflector::singularize(\Cake\Utility\Inflector::classify($this->request->getParam('controller')))) :