From 86335c61889826d365337006dfa1abd9265b4291 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Thu, 1 Aug 2013 16:42:37 +0300 Subject: [PATCH] Use prefixes while reading old Db structure --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 2dc20001d1f..4e4de888e4a 100644 --- a/lib/db.php +++ b/lib/db.php @@ -592,7 +592,7 @@ class OC_DB { // read file $content = file_get_contents( $file ); - $previousSchema = self::$schema->getDefinitionFromDatabase(); + $previousSchema = self::$schema->getDefinitionFromDatabase($CONFIG_DBTABLEPREFIX); if (PEAR::isError($previousSchema)) { $error = $previousSchema->getMessage(); $detail = $previousSchema->getDebugInfo(); -- 2.39.5