diff options
author | Andrew Dolgov <[email protected]> | 2017-04-26 20:57:36 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-26 20:57:36 +0300 |
commit | 21ce7d9ec02b0bf7c6e0ac7c28bc7c1bb0a841c5 (patch) | |
tree | 2a784cf4c91abe828b42e79a886c2cc0f80df5e2 /plugins/mailto/init.php | |
parent | ea79a0e033e40057279a7f464c9464145eedc932 (diff) |
update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
Diffstat (limited to 'plugins/mailto/init.php')
-rw-r--r-- | plugins/mailto/init.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mailto/init.php b/plugins/mailto/init.php index 12f80ec89..83e643231 100644 --- a/plugins/mailto/init.php +++ b/plugins/mailto/init.php @@ -32,12 +32,11 @@ class MailTo extends Plugin { require_once "lib/MiniTemplator.class.php"; $tpl = new MiniTemplator; - $tpl_t = new MiniTemplator; $tpl->readTemplateFromFile("templates/email_article_template.txt"); $tpl->setVariable('USER_NAME', $_SESSION["name"], true); - $tpl->setVariable('USER_EMAIL', $user_email, true); + //$tpl->setVariable('USER_EMAIL', $user_email, true); $tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"], true); @@ -91,4 +90,3 @@ class MailTo extends Plugin { } } -?> |