Make the call match the function definition.
authorAlexia E. Smith <washuu@gmail.com>
Wed, 25 May 2016 19:52:46 +0000 (14:52 -0500)
committerAlexia E. Smith <washuu@gmail.com>
Wed, 25 May 2016 19:52:46 +0000 (14:52 -0500)
Change-Id: I381fbc9b6ddbf27f4f7a79dc19eec0547e0fddbb

includes/installer/MysqlInstaller.php

index 799ca58..1bd3f51 100644 (file)
@@ -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__ );