remove funtion
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user