diff options
Diffstat (limited to 'lib/migration/content.php')
-rw-r--r-- | lib/migration/content.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migration/content.php b/lib/migration/content.php index 89b1e782d86..87f8da68c9d 100644 --- a/lib/migration/content.php +++ b/lib/migration/content.php @@ -48,7 +48,7 @@ class OC_Migration_Content{ // @brief prepares the db // @param $query the sql query to prepare public function prepare( $query ) { - + // Only add database to tmpfiles if actually used if( !is_null( $this->db ) ) { // Get db path @@ -57,7 +57,7 @@ class OC_Migration_Content{ $this->tmpfiles[] = $db; } } - + // Optimize the query $query = $this->processQuery( $query ); |