summaryrefslogtreecommitdiff
path: root/Postman/Extensions
diff options
context:
space:
mode:
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();