summaryrefslogtreecommitdiff
path: root/Postman/Extensions
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-02-25 07:40:20 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-02-25 07:40:20 +0000
commitc2335f6f0e86b17ec7346580e352b3e5d77ebf9e (patch)
tree49c601aa589a876d19ef36a8665ad02dff2e1936 /Postman/Extensions
parent627da3a95f28c13a9298d05487a4574dff5d205a (diff)
downloadPost-SMTP-c2335f6f0e86b17ec7346580e352b3e5d77ebf9e.zip
Fix slack notifications
Diffstat (limited to 'Postman/Extensions')
-rw-r--r--Postman/Extensions/Core/Notifications/PostmanNotify.php1
-rw-r--r--Postman/Extensions/Core/Notifications/PostmanSlackNotify.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/Postman/Extensions/Core/Notifications/PostmanNotify.php b/Postman/Extensions/Core/Notifications/PostmanNotify.php
index ae505cf..6876e16 100644
--- a/Postman/Extensions/Core/Notifications/PostmanNotify.php
+++ b/Postman/Extensions/Core/Notifications/PostmanNotify.php
@@ -2,6 +2,7 @@
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
+
require_once 'INotify.php';
require_once 'PostmanMailNotify.php';
require_once 'PostmanPushoverNotify.php';
diff --git a/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php b/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
index 5b6fae3..af27bd3 100644
--- a/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
+++ b/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
@@ -6,7 +6,7 @@ class PostmanSlackNotify implements Postman_Notify {
public function send_message($message)
{
- $options = PostmanOptions::getInstance();
+ $options = PostmanNotifyOptions::getInstance();
$api_url = $options->getSlackToken();