Code Duplication    Length = 6-6 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1786-1791 (lines=6) @@
1783
		}
1784
1785
		# Quote $schema and merge it with the table name if needed
1786
		if ( strlen( $schema ) ) {
1787
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $schema ) ) {
1788
				$schema = $this->addIdentifierQuotes( $schema );
1789
			}
1790
			$tableName = $schema . '.' . $tableName;
1791
		}
1792
1793
		# Quote $database and merge it with the table name if needed
1794
		if ( $database !== null ) {
@@ 1794-1799 (lines=6) @@
1791
		}
1792
1793
		# Quote $database and merge it with the table name if needed
1794
		if ( $database !== null ) {
1795
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $database ) ) {
1796
				$database = $this->addIdentifierQuotes( $database );
1797
			}
1798
			$tableName = $database . '.' . $tableName;
1799
		}
1800
1801
		return $tableName;
1802
	}