Code Duplication    Length = 6-6 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1745-1750 (lines=6) @@
1742
		}
1743
1744
		# Quote $schema and merge it with the table name if needed
1745
		if ( strlen( $schema ) ) {
1746
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $schema ) ) {
1747
				$schema = $this->addIdentifierQuotes( $schema );
1748
			}
1749
			$tableName = $schema . '.' . $tableName;
1750
		}
1751
1752
		# Quote $database and merge it with the table name if needed
1753
		if ( $database !== null ) {
@@ 1753-1758 (lines=6) @@
1750
		}
1751
1752
		# Quote $database and merge it with the table name if needed
1753
		if ( $database !== null ) {
1754
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $database ) ) {
1755
				$database = $this->addIdentifierQuotes( $database );
1756
			}
1757
			$tableName = $database . '.' . $tableName;
1758
		}
1759
1760
		return $tableName;
1761
	}