| @@ -65,15 +65,8 @@ | ||
| 65 | 65 | acym_loadAssets($name, $view); |
| 66 | 66 | $controller->loadScripts($view); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - // Display enqueued messages | |
| 70 | - $notifications = acym_getVar('array', 'acynotif', [], 'SESSION'); | |
| 71 | - if (!empty($notifications)) { | |
| 72 | - echo implode('', $notifications); | |
| 73 | - acym_setSession('acynotif', []); | |
| 74 | - } | |
| 75 | - | |
| 76 | 69 | // On pages with the editor, we need to put the wrapper inside the form |
| 77 | 70 | $outsideForm = (strpos($name, 'mails') !== false && $view === 'edit') || (strpos($name, 'campaigns') !== false && $view === 'edit_email'); |
| 78 | 71 | if ($outsideForm) { |
| 79 | 72 | echo '<form id="acym_form" action="'.esc_url( |