Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-17 14:17:41 +0300
committerJoas Schilling <coding@schilljs.com>2018-01-18 17:59:05 +0300
commit809928c1769d8c98c553cf4e5abb8393ea3fa9d5 (patch)
treedcc5a61b579c23331c0addafff0db5257ce2a8a4
parenta0499e02585d8f1e0c4547fdfaee7551bfafe4c4 (diff)
Correctly drop the ownCloud migrations table
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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.
}