Remove unused $resultSet argument from generateAssociationQuery().