summaryrefslogtreecommitdiff
path: root/plugins/mail
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-30 08:36:51 +0400
committerAndrew Dolgov <[email protected]>2013-05-30 08:36:51 +0400
commita9358e1d4e0bba92e9fc445fc69c178a4ae81884 (patch)
tree69ad1f760512226053e1872863342b8c6a5e7e8b /plugins/mail
parent1f5e9d9ab0541fbd25570d9be05bd4a487163807 (diff)
Revert "added a personalized email template. if the file:"
This reverts commit f766373271b4d388597f95ef2a55d028fcbca8f1.
Diffstat (limited to 'plugins/mail')
-rw-r--r--plugins/mail/init.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php
index 3b1582081..5b61c2355 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);