Group E-mail settings stuff in Setup.php
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Mon, 4 Aug 2014 19:59:25 +0000 (21:59 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Mon, 4 Aug 2014 19:59:25 +0000 (21:59 +0200)
commitb87c3f83647f21309b2fec4bb5358a5cddac9edb
treefc84c391922bef8e6582344466d337f924bbbc77
parentcefa3c49411814534b0156cc0538a15ce16016df
Group E-mail settings stuff in Setup.php

- Move the overrides of e-mail settings along with other
  configuration corrections instead of being near global object
  definitions
- Also force $wgUseEnotif to false if $wgEnableEmail;
  previously it could remain true since $wgEnotifUserTalk
  and $wgEnotifWatchlist were forced to false after they
  were checked to set $wgUseEnotif
- Also put the removal of 'enotifminoredits' preference nearby

Change-Id: I9af6bb78d34ce053fc36eaa7cc3852de3ecbee8e
includes/Setup.php