| @@ -34,12 +34,8 @@ | ||
| 34 | 34 | |
| 35 | 35 | $refreshToken = $this->config->get('google_refresh_token'); |
| 36 | 36 | $refreshTokenExpiration = $this->config->get('google_refresh_token_expiration'); |
| 37 | 37 | $mustAuthenticate = empty($refreshToken) || (!empty($refreshTokenExpiration) && $refreshTokenExpiration < time()); |
| 38 | - | |
| 39 | - $mailerHelper = new MailerHelper(); | |
| 40 | - | |
| 41 | - ob_start(); | |
| 42 | 38 | ?> |
| 43 | 39 | <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"> |
| 44 | 40 | <div class="acym_port_465_closed is-hidden"> |
| 45 | 41 | <?php acym_display(acym_translation('ACYM_PORT_NEEDED'), 'error', false); ?> |
| @@ -101,9 +97,8 @@ | ||
| 101 | 97 | <?php } ?> |
| 102 | 98 | </div> |
| 103 | 99 | </div> |
| 104 | 100 | <?php |
| 105 | - $data['sendingMethodsHtmlSettings'][self::SENDING_METHOD_ID] = ob_get_clean(); | |
| 106 | 101 | } |
| 107 | 102 | |
| 108 | 103 | public function onAcymGetSettingsSendingMethodFromPlugin(&$data, $plugin, $method) |
| 109 | 104 | { |