Code Duplication    Length = 5-5 lines in 4 locations

upgrade/class/dbmanager.php 4 locations

@@ 156-160 (lines=5) @@
153
    public function report()
154
    {
155
        $content = "<table align='center'><tr><td align='left'>\n";
156
        if (isset($this->s_tables['create'])) {
157
            foreach ($this->s_tables['create'] as $key => $val) {
158
                $content .= sprintf(_INSTALL_L45, "<b>$key</b>") . "<br>\n";
159
            }
160
        }
161
        if (isset($this->s_tables['insert'])) {
162
            foreach ($this->s_tables['insert'] as $key => $val) {
163
                $content .= sprintf(_INSTALL_L119, $val, "<b>$key</b>") . "<br>\n";
@@ 161-165 (lines=5) @@
158
                $content .= sprintf(_INSTALL_L45, "<b>$key</b>") . "<br>\n";
159
            }
160
        }
161
        if (isset($this->s_tables['insert'])) {
162
            foreach ($this->s_tables['insert'] as $key => $val) {
163
                $content .= sprintf(_INSTALL_L119, $val, "<b>$key</b>") . "<br>\n";
164
            }
165
        }
166
        if (isset($this->s_tables['alter'])) {
167
            foreach ($this->s_tables['alter'] as $key => $val) {
168
                $content .= sprintf(_INSTALL_L133, "<b>$key</b>") . "<br>\n";
@@ 166-170 (lines=5) @@
163
                $content .= sprintf(_INSTALL_L119, $val, "<b>$key</b>") . "<br>\n";
164
            }
165
        }
166
        if (isset($this->s_tables['alter'])) {
167
            foreach ($this->s_tables['alter'] as $key => $val) {
168
                $content .= sprintf(_INSTALL_L133, "<b>$key</b>") . "<br>\n";
169
            }
170
        }
171
        if (isset($this->s_tables['drop'])) {
172
            foreach ($this->s_tables['drop'] as $key => $val) {
173
                $content .= sprintf(_INSTALL_L163, "<b>$key</b>") . "<br>\n";
@@ 171-175 (lines=5) @@
168
                $content .= sprintf(_INSTALL_L133, "<b>$key</b>") . "<br>\n";
169
            }
170
        }
171
        if (isset($this->s_tables['drop'])) {
172
            foreach ($this->s_tables['drop'] as $key => $val) {
173
                $content .= sprintf(_INSTALL_L163, "<b>$key</b>") . "<br>\n";
174
            }
175
        }
176
        $content .= "<br>\n";
177
        if (isset($this->f_tables['create'])) {
178
            foreach ($this->f_tables['create'] as $key => $val) {