From 6b95fdecc2563c9bbc8a3b2b2ff903d71179b945 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 10 Sep 2017 01:52:25 +0200 Subject: [PATCH] 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 --- includes/installer/MysqlUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ ) ) { -- 2.20.1