summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 21:05:23 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 21:05:23 +0300
commit2c4adda9a01d37da221382ab3997e04de8e2c004 (patch)
tree3078234edbad6d7b87c778f320c0101451bd6a8a
parent89f07409b1e95f167d9a4609c46329f481068d02 (diff)
phpstan 1.0 cleanup
-rw-r--r--init.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/init.php b/init.php
index c57ef39..9afa36d 100644
--- a/init.php
+++ b/init.php
@@ -2,8 +2,6 @@
require_once __DIR__ . "/vendor/autoload.php";
class mailer_smtp extends Plugin {
- /** @var PluginHost $host */
- private $host;
const SMTP_SERVER = "SMTP_SERVER";
const SMTP_LOGIN = "SMTP_LOGIN";
@@ -21,7 +19,6 @@ class mailer_smtp extends Plugin {
}
function init(PluginHost $host) {
- $this->host = $host;
Config::add(self::SMTP_SERVER, "", Config::T_STRING);
Config::add(self::SMTP_LOGIN, "", Config::T_STRING);