| @@ -36,12 +36,8 @@ | ||
| 36 | 36 | |
| 37 | 37 | $refreshToken = $this->config->get('outlook_refresh_token'); |
| 38 | 38 | $refreshTokenExpiration = $this->config->get('outlook_refresh_token_expiration'); |
| 39 | 39 | $mustAuthenticate = empty($refreshToken) || (!empty($refreshTokenExpiration) && $refreshTokenExpiration < time()); |
| 40 | - | |
| 41 | - $mailerHelper = new MailerHelper(); | |
| 42 | - | |
| 43 | - ob_start(); | |
| 44 | 40 | ?> |
| 45 | 41 | <div class="send_settings grid-x cell large-6 xlarge-5 xxlarge-4 margin-auto" id="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings"> |
| 46 | 42 | <div class="acym_port_465_closed is-hidden"> |
| 47 | 43 | <?php acym_display(acym_translation('ACYM_PORT_NEEDED'), 'error', false); ?> |
| @@ -126,9 +122,8 @@ | ||
| 126 | 122 | <?php } ?> |
| 127 | 123 | </div> |
| 128 | 124 | </div> |
| 129 | 125 | <?php |
| 130 | - $data['sendingMethodsHtmlSettings'][self::SENDING_METHOD_ID] = ob_get_clean(); | |
| 131 | 126 | } |
| 132 | 127 | |
| 133 | 128 | public function onAcymGetSettingsSendingMethodFromPlugin(&$data, $plugin, $method) |
| 134 | 129 | { |