From 7aa4390a6702059342aad220e53e3aa4efc9caad Mon Sep 17 00:00:00 2001 From: yehudah Date: Mon, 19 Aug 2019 20:55:55 +0000 Subject: adding hooks --- Postman/Postman-Mail/PostmanMailgunTransport.php | 6 +++--- Postman/Postman-Mail/PostmanModuleTransport.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Postman/Postman-Mail') diff --git a/Postman/Postman-Mail/PostmanMailgunTransport.php b/Postman/Postman-Mail/PostmanMailgunTransport.php index a673e01..63173db 100644 --- a/Postman/Postman-Mail/PostmanMailgunTransport.php +++ b/Postman/Postman-Mail/PostmanMailgunTransport.php @@ -154,9 +154,9 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements // push the authentication options into the $overrideItem structure $overrideItem ['auth_items'] = array( array( - 'selected' => true, - 'name' => __( 'API Key', 'post-smtp' ), - 'value' => 'api_key', + 'selected' => true, + 'name' => __( 'API Key', 'post-smtp' ), + 'value' => 'api_key', ), ); return $overrideItem; diff --git a/Postman/Postman-Mail/PostmanModuleTransport.php b/Postman/Postman-Mail/PostmanModuleTransport.php index 37d692d..12d3d17 100644 --- a/Postman/Postman-Mail/PostmanModuleTransport.php +++ b/Postman/Postman-Mail/PostmanModuleTransport.php @@ -78,7 +78,7 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport /** */ - public function __construct($rootPluginFilenameAndPath) { + public function __construct($rootPluginFilenameAndPath = null) { $this->logger = new PostmanLogger ( get_class ( $this ) ); $this->options = PostmanOptions::getInstance (); $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath; -- cgit v1.2.3