summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-05-03 16:02:53 +0200
committerBart Visscher <bartv@thisnet.nl>2013-05-03 16:02:53 +0200
commitd89e748926f4ea901c0c17f0f7c3651548611b87 (patch)
tree9fbff764bfbdda683f10171cb74e490455b123cf
parentbc9792910ae5d714daefd0840d702550b91bae41 (diff)
downloadnextcloud-server-d89e748926f4ea901c0c17f0f7c3651548611b87.tar.gz
nextcloud-server-d89e748926f4ea901c0c17f0f7c3651548611b87.zip
Use supplied tablename
-rw-r--r--lib/db/schema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db/schema.php b/lib/db/schema.php
index 37379f60663..89ab2381615 100644
--- a/lib/db/schema.php
+++ b/lib/db/schema.php
@@ -80,7 +80,7 @@ class OC_DB_Schema {
$sm = $conn->getSchemaManager();
$fromSchema = $sm->createSchema();
$toSchema = clone $fromSchema;
- $toSchema->dropTable('user');
+ $toSchema->dropTable($tableName);
$sql = $fromSchema->getMigrateToSql($toSchema, $conn->getDatabasePlatform());
$conn->execute($sql);
}