From: Victor Dubiniuk Date: Thu, 1 Aug 2013 13:42:37 +0000 (+0300) Subject: Use prefixes while reading old Db structure X-Git-Tag: v5.0.10~25^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=86335c61889826d365337006dfa1abd9265b4291;p=nextcloud-server.git Use prefixes while reading old Db structure --- 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();