mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
Fix return type for createSpecificUser
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
@@ -135,9 +135,8 @@ class MySQL extends AbstractDatabase {
|
||||
/**
|
||||
* @param $username
|
||||
* @param IDBConnection $connection
|
||||
* @return array
|
||||
*/
|
||||
private function createSpecificUser($username, $connection) {
|
||||
private function createSpecificUser($username, $connection): void {
|
||||
try {
|
||||
//user already specified in config
|
||||
$oldUser = $this->config->getValue('dbuser', false);
|
||||
|
||||
Reference in New Issue
Block a user