]> git.wh0rd.org - tt-rss.git/commitdiff
Revert "added a personalized email template. if the file:"
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 30 May 2013 04:36:51 +0000 (08:36 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 30 May 2013 04:36:51 +0000 (08:36 +0400)
This reverts commit f766373271b4d388597f95ef2a55d028fcbca8f1.

plugins/mail/init.php

index 3b1582081d885d82097a2eb630f90a88c1a97e25..5b61c2355517c6ab4e0fb9d8d3dae02fba0673f2 100644 (file)
@@ -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);