diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-11-25 07:50:30 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-11-25 07:50:30 +0000 |
commit | 907ce8c044159ca8da6ccce3ec5362ac61e7c142 (patch) | |
tree | 4e4b83a3aa041a1826e4ac876b001195fce3f7c2 /Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php | |
parent | a41b9219a66f4018dc581f561fbe3fedd24e73f2 (diff) | |
download | Post-SMTP-907ce8c044159ca8da6ccce3ec5362ac61e7c142.zip |
deleted by mistake
Diffstat (limited to 'Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php')
-rw-r--r-- | Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php b/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php deleted file mode 100644 index 82472c3..0000000 --- a/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly -} - -class PostmanWizardSocket { - - // these variables are populated by the Port Test - public $hostname; - public $hostnameDomainOnly; - public $port; - public $protocol; - public $secure; - public $mitm; - public $reportedHostname; - public $reportedHostnameDomainOnly; - public $message; - public $startTls; - public $authPlain; - public $auth_login; - public $auth_crammd5; - public $auth_xoauth; - public $auth_none; - public $try_smtps; - public $success; - public $transport; - - // these variables are populated by The Transport Recommenders - public $label; - public $id; - - /** - * - * @param mixed $queryHostData - */ - function __construct($queryHostData) { - $this->hostname = $queryHostData ['hostname']; - $this->hostnameDomainOnly = $queryHostData ['hostname_domain_only']; - $this->port = $queryHostData ['port']; - $this->protocol = $queryHostData ['protocol']; - $this->secure = PostmanUtils::parseBoolean ( $queryHostData ['secure'] ); - $this->mitm = PostmanUtils::parseBoolean ( $queryHostData ['mitm'] ); - $this->reportedHostname = $queryHostData ['reported_hostname']; - $this->reportedHostnameDomainOnly = $queryHostData ['reported_hostname_domain_only']; - $this->message = $queryHostData ['message']; - $this->startTls = PostmanUtils::parseBoolean ( $queryHostData ['start_tls'] ); - $this->authPlain = PostmanUtils::parseBoolean ( $queryHostData ['auth_plain'] ); - $this->auth_login = PostmanUtils::parseBoolean ( $queryHostData ['auth_login'] ); - $this->auth_crammd5 = PostmanUtils::parseBoolean ( $queryHostData ['auth_crammd5'] ); - $this->auth_xoauth = PostmanUtils::parseBoolean ( $queryHostData ['auth_xoauth'] ); - $this->auth_none = PostmanUtils::parseBoolean ( $queryHostData ['auth_none'] ); - $this->try_smtps = PostmanUtils::parseBoolean ( $queryHostData ['try_smtps'] ); - $this->success = PostmanUtils::parseBoolean ( $queryHostData ['success'] ); - $this->transport = $queryHostData ['transport']; - assert ( ! empty ( $this->transport ) ); - $this->id = sprintf ( '%s_%s', $this->hostname, $this->port ); - } -} - |