Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 599-603 (lines=5) @@
596
    {
597
        $this->expandQueue();
598
        foreach ($this->queue as &$ddl) {
599
            if (is_array($ddl)) {
600
                if (isset($ddl['createtable'])) {
601
                    $ddl = $this->renderTableCreate($ddl['createtable']);
602
                }
603
            }
604
            $result = $this->execSql($ddl, $force);
605
            if (!$result) {
606
                $this->lastError = $this->db->errorInfo();
@@ 908-912 (lines=5) @@
905
    protected function expandQueue()
906
    {
907
        foreach ($this->queue as &$ddl) {
908
            if (is_array($ddl)) {
909
                if (isset($ddl['createtable'])) {
910
                    $ddl = $this->renderTableCreate($ddl['createtable'], true);
911
                }
912
            }
913
        }
914
    }
915