summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-17 12:17:41 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-18 15:59:05 +0100
commit809928c1769d8c98c553cf4e5abb8393ea3fa9d5 (patch)
treedcc5a61b579c23331c0addafff0db5257ce2a8a4 /lib
parenta0499e02585d8f1e0c4547fdfaee7551bfafe4c4 (diff)
downloadnextcloud-server-809928c1769d8c98c553cf4e5abb8393ea3fa9d5.tar.gz
nextcloud-server-809928c1769d8c98c553cf4e5abb8393ea3fa9d5.zip
Correctly drop the ownCloud migrations table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/DB/MigrationService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php
index 25eaa628e52..5e2c7e69ee9 100644
--- a/lib/private/DB/MigrationService.php
+++ b/lib/private/DB/MigrationService.php
@@ -129,7 +129,7 @@ class MigrationService {
}
// Drop the table, when it didn't match our expectations.
- $this->connection->dropTable($this->connection->getPrefix() . 'migrations');
+ $this->connection->dropTable('migrations');
} catch (SchemaException $e) {
// Table not found, no need to panic, we will create it.
}