Replace a few more logical operators
authorKevin Israel <pleasestand@live.com>
Fri, 24 Oct 2014 14:42:19 +0000 (10:42 -0400)
committerKevin Israel <pleasestand@live.com>
Fri, 24 Oct 2014 15:41:00 +0000 (11:41 -0400)
commit36c0da63cdb76cbbfaaf3c8b307cd2831a4643de
tree9790fa5134cbd8a22c6308e999fce1fb356aee1c
parent8e6fa108b80fb0572c695171e60efbf1b984dd7e
Replace a few more logical operators

Changed all remaining uses of 'and' (T_LOGICAL_AND) and 'or'
(T_LOGICAL_OR) except those in includes/libs/lessc.inc.php.

In maintenance/generateSitemap.php, also slightly cleaned up
touched code:

* Inlined GenerateSitemap::init_path().
* Removed the redundant `$fspath && !is_dir( $fspath )` check.
* Return a nonzero exit code if wfMkdirParents() fails.

There are still uses of 'xor' (T_LOGICAL_XOR) in the following
files, which I left as-is:

* includes/Export.php
* includes/htmlform/HTMLCheckField.php
* includes/Autopromote.php
* maintenance/importDump.php
* maintenance/backup.inc

Change-Id: I73cb20da989e90b52782e7499f633debd5ad265d
includes/Linker.php
includes/db/DatabaseMssql.php
maintenance/generateSitemap.php