Code Duplication    Length = 5-5 lines in 4 locations

upgrade/class/dbmanager.php 4 locations

@@ 177-181 (lines=5) @@
174
            }
175
        }
176
        $content .= "<br>\n";
177
        if (isset($this->f_tables['create'])) {
178
            foreach ($this->f_tables['create'] as $key => $val) {
179
                $content .= sprintf(_INSTALL_L118, "<b>$key</b>") . "<br>\n";
180
            }
181
        }
182
        if (isset($this->f_tables['insert'])) {
183
            foreach ($this->f_tables['insert'] as $key => $val) {
184
                $content .= sprintf(_INSTALL_L120, $val, "<b>$key</b>") . "<br>\n";
@@ 182-186 (lines=5) @@
179
                $content .= sprintf(_INSTALL_L118, "<b>$key</b>") . "<br>\n";
180
            }
181
        }
182
        if (isset($this->f_tables['insert'])) {
183
            foreach ($this->f_tables['insert'] as $key => $val) {
184
                $content .= sprintf(_INSTALL_L120, $val, "<b>$key</b>") . "<br>\n";
185
            }
186
        }
187
        if (isset($this->f_tables['alter'])) {
188
            foreach ($this->f_tables['alter'] as $key => $val) {
189
                $content .= sprintf(_INSTALL_L134, "<b>$key</b>") . "<br>\n";
@@ 187-191 (lines=5) @@
184
                $content .= sprintf(_INSTALL_L120, $val, "<b>$key</b>") . "<br>\n";
185
            }
186
        }
187
        if (isset($this->f_tables['alter'])) {
188
            foreach ($this->f_tables['alter'] as $key => $val) {
189
                $content .= sprintf(_INSTALL_L134, "<b>$key</b>") . "<br>\n";
190
            }
191
        }
192
        if (isset($this->f_tables['drop'])) {
193
            foreach ($this->f_tables['drop'] as $key => $val) {
194
                $content .= sprintf(_INSTALL_L164, "<b>$key</b>") . "<br>\n";
@@ 192-196 (lines=5) @@
189
                $content .= sprintf(_INSTALL_L134, "<b>$key</b>") . "<br>\n";
190
            }
191
        }
192
        if (isset($this->f_tables['drop'])) {
193
            foreach ($this->f_tables['drop'] as $key => $val) {
194
                $content .= sprintf(_INSTALL_L164, "<b>$key</b>") . "<br>\n";
195
            }
196
        }
197
        $content .= "</td></tr></table>\n";
198
199
        return $content;