| @@ -1,24 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -use AcyMailing\Core\AcymPlugin; | |
| 4 | - | |
| 5 | -class plgAcymQmail extends AcymPlugin | |
| 6 | -{ | |
| 7 | - const SENDING_METHOD_ID = 'qmail'; | |
| 8 | - const SENDING_METHOD_NAME = 'Qmail'; | |
| 9 | - | |
| 10 | - public function __construct() | |
| 11 | - { | |
| 12 | - parent::__construct(); | |
| 13 | - $this->pluginDescription->name = self::SENDING_METHOD_NAME; | |
| 14 | - } | |
| 15 | - | |
| 16 | - public function onAcymGetSendingMethods(&$data, $isMailer = false) | |
| 17 | - { | |
| 18 | - if ($isMailer) return; | |
| 19 | - $data['sendingMethods'][self::SENDING_METHOD_ID] = [ | |
| 20 | - 'name' => $this->pluginDescription->name, | |
| 21 | - 'image' => ACYM_IMAGES.'mailers/qmail.gif', | |
| 22 | - ]; | |
| 23 | - } | |
| 24 | -} | |