Code Duplication    Length = 6-6 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1920-1925 (lines=6) @@
1917
		}
1918
1919
		# Quote $schema and merge it with the table name if needed
1920
		if ( strlen( $schema ) ) {
1921
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $schema ) ) {
1922
				$schema = $this->addIdentifierQuotes( $schema );
1923
			}
1924
			$tableName = $schema . '.' . $tableName;
1925
		}
1926
1927
		# Quote $database and merge it with the table name if needed
1928
		if ( $database !== null ) {
@@ 1928-1933 (lines=6) @@
1925
		}
1926
1927
		# Quote $database and merge it with the table name if needed
1928
		if ( $database !== null ) {
1929
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $database ) ) {
1930
				$database = $this->addIdentifierQuotes( $database );
1931
			}
1932
			$tableName = $database . '.' . $tableName;
1933
		}
1934
1935
		return $tableName;
1936
	}