require_once instead of depending on the return value of include_once
authorMukunda Modell <mmodell@wikimedia.org>
Wed, 22 Apr 2015 22:34:25 +0000 (17:34 -0500)
committerMukunda Modell <mmodell@wikimedia.org>
Wed, 22 Apr 2015 22:37:19 +0000 (17:37 -0500)
commit7959f93c30e4b845ea8f4f5d2262b30b8a89c980
treede51f59e0fffb28d5efc6ce0d2380c34ea641f83
parentd4cc4117d79648ab5f6d1d3f7dc84b043b073008
require_once instead of depending on the return value of include_once

return value from include_once is unreliable, it could be the value
of a 'return;' statement in the included file, or it could be false
when the file wasn't readable. This was breaking deployments because
one of the extensions had "return;" which caused include_once to
return a falsy value.

Change-Id: I48b9a55d5f9e85efe515d87b56b60ee71f939842
maintenance/mergeMessageFileList.php