diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-02-16 14:09:43 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-02-16 14:09:43 +0100 |
commit | 6a1f928ffcdf160d8bcb569e3f0340816b843874 (patch) | |
tree | 135b93119ef1a7d15fc25227f26a15b79116c8e0 | |
parent | 62147bf8b4df365c8f4e0cf74f115edd2d154406 (diff) | |
download | rpg-6a1f928ffcdf160d8bcb569e3f0340816b843874.tar.gz rpg-6a1f928ffcdf160d8bcb569e3f0340816b843874.tar.bz2 |
do not expose version in outgoing mails FS#2701
-rw-r--r-- | inc/Mailer.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index f1492be9b..f87d7dd84 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -51,7 +51,7 @@ class Mailer { $this->allowhtml = (bool)$conf['htmlmail']; // add some default headers for mailfiltering FS#2247 - $this->setHeader('X-Mailer', 'DokuWiki '.getVersion()); + $this->setHeader('X-Mailer', 'DokuWiki'); $this->setHeader('X-DokuWiki-User', $_SERVER['REMOTE_USER']); $this->setHeader('X-DokuWiki-Title', $conf['title']); $this->setHeader('X-DokuWiki-Server', $server); |