From: Andrew Dolgov Date: Thu, 30 May 2013 04:36:51 +0000 (+0400) Subject: Revert "added a personalized email template. if the file:" X-Git-Tag: 1.8~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a9358e1d4e0bba92e9fc445fc69c178a4ae81884;p=tt-rss.git Revert "added a personalized email template. if the file:" This reverts commit f766373271b4d388597f95ef2a55d028fcbca8f1. --- diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 3b158208..5b61c235 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -50,10 +50,7 @@ class Mail extends Plugin { $tpl = new MiniTemplator; $tpl_t = new MiniTemplator; - $templ_name = "templates/email_article_template.txt"; - if(file_exists("templates/my_email_article_template.txt")) - $templ_name = "templates/my_email_article_template.txt"; - $tpl->readTemplateFromFile($templ_name); + $tpl->readTemplateFromFile("templates/email_article_template.txt"); $tpl->setVariable('USER_NAME', $_SESSION["name"], true); $tpl->setVariable('USER_EMAIL', $user_email, true);