Code Duplication    Length = 6-6 lines in 2 locations

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

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