Fix uncaught TypeError when adding databases to a user
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
c30ab024df
commit
4bd3523768
@ -4201,16 +4201,16 @@ class Privileges
|
||||
/**
|
||||
* update Data for information: Adds a user
|
||||
*
|
||||
* @param string|null $dbname db name
|
||||
* @param string $username user name
|
||||
* @param string $hostname host name
|
||||
* @param string|null $password password
|
||||
* @param bool $is_menuwork is_menuwork set?
|
||||
* @param string|array|null $dbname db name
|
||||
* @param string $username user name
|
||||
* @param string $hostname host name
|
||||
* @param string|null $password password
|
||||
* @param bool $is_menuwork is_menuwork set?
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function addUser(
|
||||
?string $dbname,
|
||||
$dbname,
|
||||
$username,
|
||||
$hostname,
|
||||
?string $password,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user