Code Duplication    Length = 2-2 lines in 2 locations

Sources/DbPackages-mysql.php 1 location

@@ 147-148 (lines=2) @@
144
	}
145
146
	// No trailing commas!
147
	if (substr($table_query, -1) == ',')
148
		$table_query = substr($table_query, 0, -1);
149
150
	// Which engine do we want here?
151
	if (empty($engines))

Sources/DbPackages-postgresql.php 1 location

@@ 178-179 (lines=2) @@
175
	}
176
177
	// No trailing commas!
178
	if (substr($table_query, -1) == ',')
179
		$table_query = substr($table_query, 0, -1);
180
181
	$table_query .= ')';
182