From efdfabf3e98d9b6cc4d3b17ecf68a2dab5efc358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 22 Dec 2017 12:14:34 +0100 Subject: [PATCH] Remove method --- .../models/aggregation/aggregation-mapconfig.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/cartodb/models/aggregation/aggregation-mapconfig.js b/lib/cartodb/models/aggregation/aggregation-mapconfig.js index 6e9b71d0..bf334338 100644 --- a/lib/cartodb/models/aggregation/aggregation-mapconfig.js +++ b/lib/cartodb/models/aggregation/aggregation-mapconfig.js @@ -72,18 +72,6 @@ module.exports = class AggregationMapConfig extends MapConfig { }); } - getAggregatedColumns (index) { - const { aggregation } = this.getLayer(index).options; - - if (aggregation === undefined || aggregation.columns === undefined) { - return []; - } - - return aggregation.columns - .map(({ aggregated_column }) => aggregated_column) - .filter(aggregated_column => typeof aggregated_column === 'string'); - } - isAggregationMapConfig () { return this.isVectorOnlyMapConfig() || this.hasAnyLayerAggregation(); }