Code Duplication    Length = 5-5 lines in 2 locations

htdocs/xoops_lib/Xmf/Database/Tables.php 2 locations

@@ 573-577 (lines=5) @@
570
    {
571
        $this->expandQueue();
572
        foreach ($this->queue as &$ddl) {
573
            if (is_array($ddl)) {
574
                if (isset($ddl['createtable'])) {
575
                    $ddl = $this->renderTableCreate($ddl['createtable']);
576
                }
577
            }
578
            $result = $this->execSql($ddl, $force);
579
            if (!$result) {
580
                $this->lastError = $this->db->errorInfo();
@@ 885-889 (lines=5) @@
882
    protected function expandQueue()
883
    {
884
        foreach ($this->queue as &$ddl) {
885
            if (is_array($ddl)) {
886
                if (isset($ddl['createtable'])) {
887
                    $ddl = $this->renderTableCreate($ddl['createtable'], true);
888
                }
889
            }
890
        }
891
    }
892