Revert "Setup: Fix that the mysql privilege checks are not working in the wizard"

This reverts commit 1835479738.
Operator precedence is a damn useful thing, if known by the developer...
This commit is contained in:
Johannes Meyer 2015-04-13 10:27:10 +02:00
parent a817d9070e
commit 5c61405a9a
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ EOD;
. ' AND ' . $privilegeCondition . ($requireGrants ? " AND is_grantable = 'YES'" : ''),
array(':grantee' => $grantee)
);
return $query->fetchObject()->matches === count($mysqlPrivileges);
return (int) $query->fetchObject()->matches === count($mysqlPrivileges);
}
/**