Makes sure wgAdditionalMailParams is null in safe mode
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 18 May 2011 20:28:44 +0000 (20:28 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 18 May 2011 20:28:44 +0000 (20:28 +0000)
commitd8c59f8f0d7150f2607488a91b1ca5a88957cc77
treea6ff17530adf3b22108ce01348a91be0b3b6a30b
parentad2d7ad56e102027e21a425ec1c84cdea4e5c04c
Makes sure wgAdditionalMailParams is null in safe mode

The global is used for a call to PHP mail() function as a way to add
additional parameters.  This will cause mail() to send E_NOTICE when
using safe mode.

Since we could use the global at different places, it makes sens to
ensure it has a sane value through Setup.php

Follow up r75557
includes/Setup.php
includes/UserMailer.php