From: Umherirrender Date: Sat, 9 Sep 2017 23:52:25 +0000 (+0200) Subject: Remove return bool from MysqlUpdater::doInterwikiUpdate X-Git-Tag: 1.31.0-rc.0~2045^2 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=6b95fdecc2563c9bbc8a3b2b2ff903d71179b945;p=lhc%2Fweb%2Fwiklou.git Remove return bool from MysqlUpdater::doInterwikiUpdate All return values unequal to false are treated as "update done", so return void is okay. Change-Id: I553f6acb450a5fe1708aec641181f9a07da1ac39 --- diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 2abc6b61db..3f80f256fd 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -390,7 +390,7 @@ class MysqlUpdater extends DatabaseUpdater { global $IP; if ( !$this->doTable( 'interwiki' ) ) { - return true; + return; } if ( $this->db->tableExists( "interwiki", __METHOD__ ) ) {