summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}