summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Webhook.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/Controller/Webhook.php b/app/Controller/Webhook.php
index 1b3a659b..1186680d 100644
--- a/app/Controller/Webhook.php
+++ b/app/Controller/Webhook.php
@@ -92,37 +92,4 @@ class Webhook extends Base
echo $result ? 'PARSED' : 'IGNORED';
}
-
- /**
- * Handle Postmark webhooks
- *
- * @access public
- */
- public function postmark()
- {
- $this->checkWebhookToken();
- echo $this->postmark->receiveEmail($this->request->getJson()) ? 'PARSED' : 'IGNORED';
- }
-
- /**
- * Handle Mailgun webhooks
- *
- * @access public
- */
- public function mailgun()
- {
- $this->checkWebhookToken();
- echo $this->mailgun->receiveEmail($_POST) ? 'PARSED' : 'IGNORED';
- }
-
- /**
- * Handle Sendgrid webhooks
- *
- * @access public
- */
- public function sendgrid()
- {
- $this->checkWebhookToken();
- echo $this->sendgrid->receiveEmail($_POST) ? 'PARSED' : 'IGNORED';
- }
}