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)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 26 Apr 2018 05:29:13 +0000 (22:29 -0700)
commit5d30435e81427fcce3353d900faaf8d9fa9a8709
tree81a4860e2175a10cb0e31ba3636adc557e078038
parentb1b0070dc7557311cc38e7cc99e4231ac4b92940
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
includes/mail/UserMailer.php