diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-09-19 15:49:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 15:49:04 +0200 |
commit | 74c38b87e513e8e8f96197c709d97881631b42b3 (patch) | |
tree | a6b6ea0825343570bacb1f8b9a6b0a7ee486fa91 /lib/private/Setup | |
parent | 8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff) | |
parent | 6285f550b6cd94e13e73a66894744e2ee7be32b5 (diff) | |
download | nextcloud-server-74c38b87e513e8e8f96197c709d97881631b42b3.tar.gz nextcloud-server-74c38b87e513e8e8f96197c709d97881631b42b3.zip |
Merge pull request #48181 from nextcloud/chore/deps/nextcloud-coding-standard
Diffstat (limited to 'lib/private/Setup')
-rw-r--r-- | lib/private/Setup/AbstractDatabase.php | 2 | ||||
-rw-r--r-- | lib/private/Setup/MySQL.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php index b1d93f55cc0..dbbb587206b 100644 --- a/lib/private/Setup/AbstractDatabase.php +++ b/lib/private/Setup/AbstractDatabase.php @@ -133,7 +133,7 @@ abstract class AbstractDatabase { abstract public function setupDatabase($username); public function runMigrations(?IOutput $output = null) { - if (!is_dir(\OC::$SERVERROOT.'/core/Migrations')) { + if (!is_dir(\OC::$SERVERROOT . '/core/Migrations')) { return; } $ms = new MigrationService('core', \OC::$server->get(Connection::class), $output); diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index 93aee667d18..2708ada31c1 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -41,7 +41,7 @@ class MySQL extends AbstractDatabase { //fill the database if needed $query = 'select count(*) from information_schema.tables where table_schema=? AND table_name = ?'; - $connection->executeQuery($query, [$this->dbName, $this->tablePrefix.'users']); + $connection->executeQuery($query, [$this->dbName, $this->tablePrefix . 'users']); $connection->close(); $connection = $this->connect(); |