diff --git a/lib/cartodb/controllers/map.js b/lib/cartodb/controllers/map.js index ab65b604..7a1dc6be 100644 --- a/lib/cartodb/controllers/map.js +++ b/lib/cartodb/controllers/map.js @@ -265,28 +265,6 @@ function sendResponse (req, res) { } } -MapController.prototype.afterLayergroupCreateBuilder = function (options = {}) { - const { - useTemplateHash = false, - includeQuery = false - } = options; - - return [ - this.incrementMapViewCount.bind(this), - this.augmentLayergroupData.bind(this), - this.getAffectedTables.bind(this), - this.setCacheChannel.bind(this), - this.setLastUpdatedTimeToLayergroup.bind(this), - this.setCacheControl.bind(this), - this.setLayerStats.bind(this), - this.setLayergroupIdHeaderBuilder(useTemplateHash), - this.setDataviewsAndWidgetsUrlsToLayergroupMetadata.bind(this), - this.setAnalysesMetadataToLayergroupBuilder(includeQuery), - this.setTurboCartoMetadataToLayergroup.bind(this), - this.setSurrogateKeyHeader.bind(this) - ]; -}; - MapController.prototype.incrementMapViewCount = function (req, res, callback) { const { mapconfig, user } = res.locals;