From: Alexia E. Smith Date: Wed, 25 May 2016 19:52:46 +0000 (-0500) Subject: Make the call match the function definition. X-Git-Tag: 1.31.0-rc.0~6795^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=45ebd3f0e6e3749bb911b58bd585e5b23e61837f;p=lhc%2Fweb%2Fwiklou.git Make the call match the function definition. Change-Id: I381fbc9b6ddbf27f4f7a79dc19eec0547e0fddbb --- diff --git a/includes/installer/MysqlInstaller.php b/includes/installer/MysqlInstaller.php index 799ca58024..1bd3f51de2 100644 --- a/includes/installer/MysqlInstaller.php +++ b/includes/installer/MysqlInstaller.php @@ -540,7 +540,7 @@ class MysqlInstaller extends DatabaseInstaller { foreach ( $createHostList as $host ) { $fullName = $this->buildFullUserName( $dbUser, $host ); - if ( !$this->userDefinitelyExists( $dbUser, $host ) ) { + if ( !$this->userDefinitelyExists( $host, $dbUser ) ) { try { $this->db->begin( __METHOD__ ); $this->db->query( "CREATE USER $fullName IDENTIFIED BY $escPass", __METHOD__ );