No need to do the safe_mode check on every request in $wgAdditionalMailParams is set; that variable will not be passed to mail() if safe_mode is enabled since r99411
This commit is contained in:
parent
caf5df17ab
commit
66587c2574
1 changed files with 0 additions and 6 deletions
|
|
@ -498,12 +498,6 @@ $wgTitle = null;
|
|||
|
||||
$wgDeferredUpdateList = array();
|
||||
|
||||
// We need to check for safe_mode, because mail() will throw an E_NOTICE
|
||||
// on additional parameters
|
||||
if( !is_null($wgAdditionalMailParams) && wfIniGetBool('safe_mode') ) {
|
||||
$wgAdditionalMailParams = null;
|
||||
}
|
||||
|
||||
wfProfileOut( $fname . '-globals' );
|
||||
wfProfileIn( $fname . '-extensions' );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue