aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/MDB2SchemaManager.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-17 21:29:19 +0100
committerGitHub <noreply@github.com>2021-03-17 21:29:19 +0100
commit37feee4e873b74413785ccb19f070dc33b66c338 (patch)
tree3bc1340be7e19875e65c515770a9ea9e1bc5e0ea /lib/private/DB/MDB2SchemaManager.php
parent459e0b311bc1af926789f31e28932df7e0eec6bb (diff)
parenta2f3077ee802b4b291ba4f846bfceb69ec0f225f (diff)
downloadnextcloud-server-37feee4e873b74413785ccb19f070dc33b66c338.tar.gz
nextcloud-server-37feee4e873b74413785ccb19f070dc33b66c338.zip
Merge pull request #24384 from nextcloud/cleanup/remove-old-migration-check
Remove dead code from checking core/apps before upgrades
Diffstat (limited to 'lib/private/DB/MDB2SchemaManager.php')
-rw-r--r--lib/private/DB/MDB2SchemaManager.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/DB/MDB2SchemaManager.php b/lib/private/DB/MDB2SchemaManager.php
index 18549eb1fa2..30c4a87e5b3 100644
--- a/lib/private/DB/MDB2SchemaManager.php
+++ b/lib/private/DB/MDB2SchemaManager.php
@@ -71,15 +71,15 @@ class MDB2SchemaManager {
$config = \OC::$server->getConfig();
$dispatcher = \OC::$server->getEventDispatcher();
if ($platform instanceof SqlitePlatform) {
- return new SQLiteMigrator($this->conn, $random, $config, $dispatcher);
+ return new SQLiteMigrator($this->conn, $config, $dispatcher);
} elseif ($platform instanceof OraclePlatform) {
- return new OracleMigrator($this->conn, $random, $config, $dispatcher);
+ return new OracleMigrator($this->conn, $config, $dispatcher);
} elseif ($platform instanceof MySQLPlatform) {
- return new MySQLMigrator($this->conn, $random, $config, $dispatcher);
+ return new MySQLMigrator($this->conn, $config, $dispatcher);
} elseif ($platform instanceof PostgreSQL94Platform) {
- return new PostgreSqlMigrator($this->conn, $random, $config, $dispatcher);
+ return new PostgreSqlMigrator($this->conn, $config, $dispatcher);
} else {
- return new Migrator($this->conn, $random, $config, $dispatcher);
+ return new Migrator($this->conn, $config, $dispatcher);
}
}