From 0c1f84b79c768e695fff224730b823517d3c5cc9 Mon Sep 17 00:00:00 2001 From: yehudah Date: Tue, 20 Aug 2019 21:28:32 +0000 Subject: Securty Fixes --- Postman/PostmanOptions.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Postman') diff --git a/Postman/PostmanOptions.php b/Postman/PostmanOptions.php index d890124..e2e78d6 100644 --- a/Postman/PostmanOptions.php +++ b/Postman/PostmanOptions.php @@ -167,14 +167,6 @@ if ( ! class_exists( 'PostmanOptions' ) ) { $this->load(); } - public function __call($method, $args) - { - if (isset($this->$method)) { - $func = $this->$method; - return call_user_func_array($func, $args); - } - } - public function save() { update_option( PostmanOptions::POSTMAN_OPTIONS, $this->options ); } @@ -200,8 +192,6 @@ if ( ! class_exists( 'PostmanOptions' ) ) { restore_current_blog(); } - do_action( 'post_smtp_options_load', $this ); - $this->options = $options; } -- cgit v1.2.3