mail: Refactor checks looking for PEAR libraries to be clearer
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 26 Apr 2018 05:24:24 +0000 (22:24 -0700)
committerChad <chadh@wikimedia.org>
Thu, 24 May 2018 21:50:53 +0000 (21:50 +0000)
commit487829b8a396233c28a36decceecde5f55cee575
tree583a53f96aa78de96028a91eec7b358c6590532a
parent850176e9205ebf1b7f439384febadd753fcd3ee7
mail: Refactor checks looking for PEAR libraries to be clearer

I don't think this makes any difference towards the linked bug, but
it makes it more obvious that MediaWiki doesn't try to use any PEAR
classes before attempting to require them.

Bug: T186456
Change-Id: I342f41903a15f13e72e76464499351412a9afa34
(cherry picked from commit 5d30435e81427fcce3353d900faaf8d9fa9a8709)
includes/mail/UserMailer.php