Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 1755-1760 (lines=6) @@
1752
		}
1753
1754
		# Quote $schema and merge it with the table name if needed
1755
		if ( strlen( $schema ) ) {
1756
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $schema ) ) {
1757
				$schema = $this->addIdentifierQuotes( $schema );
1758
			}
1759
			$tableName = $schema . '.' . $tableName;
1760
		}
1761
1762
		# Quote $database and merge it with the table name if needed
1763
		if ( $database !== '' ) {
@@ 1763-1768 (lines=6) @@
1760
		}
1761
1762
		# Quote $database and merge it with the table name if needed
1763
		if ( $database !== '' ) {
1764
			if ( $format == 'quoted' && !$this->isQuotedIdentifier( $database ) ) {
1765
				$database = $this->addIdentifierQuotes( $database );
1766
			}
1767
			$tableName = $database . '.' . $tableName;
1768
		}
1769
1770
		return $tableName;
1771
	}