chg: Removed useless comments
parent
c0b6925aa5
commit
bd14d52571
|
@ -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']));
|
||||
|
|
|
@ -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')))) :
|
||||
|
|
Loading…
Reference in New Issue