diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-03-11 22:13:50 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-03-11 22:13:50 +0000 |
commit | a2d7e9c6e8b951848c53dc2b159e1ff4b92642c5 (patch) | |
tree | b5d7cce874a1b34616baece52a246907820c1de2 /lib/migrate.php | |
parent | fa5a5649c6f7a08b319b15bd537d898e5e77ee98 (diff) | |
download | nextcloud-server-a2d7e9c6e8b951848c53dc2b159e1ff4b92642c5.tar.gz nextcloud-server-a2d7e9c6e8b951848c53dc2b159e1ff4b92642c5.zip |
Merge returns from insertData()
Diffstat (limited to 'lib/migrate.php')
-rw-r--r-- | lib/migrate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php index 28329a8170b..b8dbcc475ee 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -227,8 +227,8 @@ class OC_Migrate{ // Run the query for this match value (where x = y value) $query = OC_DB::prepare( "SELECT * FROM *PREFIX*" . $options['table'] . " WHERE " . $options['matchcol'] . " LIKE ?" ); $results = $query->execute( array( $matchval ) ); - $return = self::insertData( $results, $options ); - //$return = array_merge( $return, $newreturns ); + $newreturns = self::insertData( $results, $options ); + $return = array_merge( $return, $newreturns ); } } else { |