Code Duplication    Length = 6-6 lines in 2 locations

htdocs/modules/system/class/module.php 2 locations

@@ 293-298 (lines=6) @@
290
                                            '<strong>' . $xoops->db()->prefix($prefixed_query[4]) . '</strong>'
291
                                        );
292
                                        $created_tables[] = $prefixed_query[4];
293
                                    } else {
294
                                        $this->trace[]['sub'] = sprintf(
295
                                            XoopsLocale::SF_DATA_INSERTED_TO_TABLE,
296
                                            '<strong>' . $xoops->db()->prefix($prefixed_query[4]) . '</strong>'
297
                                        );
298
                                    }
299
                                }
300
                            } else {
301
                                // the table name is reserved, so halt the installation
@@ 543-548 (lines=6) @@
540
                                XoopsLocale::SF_TABLE_DROPPED,
541
                                '<strong>' . $xoops->db()->prefix($table) . '</strong>'
542
                            );
543
                        } else {
544
                            $this->trace[]['sub'] = '<span class="red">' . sprintf(
545
                                XoopsLocale::EF_TABLE_DROP_NOT_ALLOWED,
546
                                '<strong>' . $xoops->db()->prefix($table) . '</strong>'
547
                            ) . '</span>';
548
                        }
549
                    }
550
                    $synchronizer = new SingleDatabaseSynchronizer($xoops->db());
551
                    $synchronizer->updateSchema($toSchema, false);