]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use prefixes while reading old Db structure
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>
Thu, 1 Aug 2013 13:42:37 +0000 (16:42 +0300)
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>
Thu, 1 Aug 2013 13:42:37 +0000 (16:42 +0300)
lib/db.php

index 2dc20001d1f06c76ccb66e68221e19fac7b40888..4e4de888e4a12b03b0a131dea55fa8e4dfbc86c5 100644 (file)
@@ -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();