Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 622-626 (lines=5) @@
619
    {
620
        $this->expandQueue();
621
        foreach ($this->queue as &$ddl) {
622
            if (is_array($ddl)) {
623
                if (isset($ddl['createtable'])) {
624
                    $ddl=$this->renderTableCreate($ddl['createtable']);
625
                }
626
            }
627
            $result = $this->execSql($ddl, $force);
628
            if (!$result) {
629
                $this->lastError = $this->db->errorInfo();
@@ 945-949 (lines=5) @@
942
    private function expandQueue()
943
    {
944
        foreach ($this->queue as &$ddl) {
945
            if (is_array($ddl)) {
946
                if (isset($ddl['createtable'])) {
947
                    $ddl=$this->renderTableCreate($ddl['createtable'], true);
948
                }
949
            }
950
        }
951
    }
952