remove funtion

This commit is contained in:
Daniel García Aubert
2017-11-03 09:38:36 +01:00
parent cb167313d2
commit 677f6caab8
-22
View File
@@ -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;