Code Duplication    Length = 6-6 lines in 2 locations

includes/libs/rdbms/database/Database.php 2 locations

@@ 1739-1744 (lines=6) @@
1736
		}
1737
1738
		# Quote $schema and merge it with the table name if needed
1739
		if ( strlen( $schema ) ) {
1740
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $schema ) ) {
1741
				$schema = $this->addIdentifierQuotes( $schema );
1742
			}
1743
			$tableName = $schema . '.' . $tableName;
1744
		}
1745
1746
		# Quote $database and merge it with the table name if needed
1747
		if ( $database !== '' ) {
@@ 1747-1752 (lines=6) @@
1744
		}
1745
1746
		# Quote $database and merge it with the table name if needed
1747
		if ( $database !== '' ) {
1748
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $database ) ) {
1749
				$database = $this->addIdentifierQuotes( $database );
1750
			}
1751
			$tableName = $database . '.' . $tableName;
1752
		}
1753
1754
		return $tableName;
1755
	}