Remove defined dependecies but never used

This commit is contained in:
Daniel García Aubert
2018-04-11 18:51:44 +02:00
parent 9a52edacb2
commit 730b29c9cc
2 changed files with 2 additions and 16 deletions
@@ -8,22 +8,11 @@ const { RATE_LIMIT_ENDPOINTS_GROUPS } = rateLimit;
const dbParamsFromResLocals = require('../../utils/database-params');
module.exports = class AnalysisLayergroupController {
constructor (
analysisStatusBackend,
pgConnection,
mapStore,
userLimitsBackend,
layergroupAffectedTablesCache,
authBackend,
surrogateKeysCache
) {
constructor (analysisStatusBackend, pgConnection, userLimitsBackend, authBackend) {
this.analysisStatusBackend = analysisStatusBackend;
this.pgConnection = pgConnection;
this.mapStore = mapStore;
this.userLimitsBackend = userLimitsBackend;
this.layergroupAffectedTablesCache = layergroupAffectedTablesCache;
this.authBackend = authBackend;
this.surrogateKeysCache = surrogateKeysCache;
}
register (mapRouter) {
+1 -4
View File
@@ -38,11 +38,8 @@ module.exports = class MapRouter {
this.analysisLayergroupController = new AnalysisLayergroupController(
analysisStatusBackend,
pgConnection,
mapStore,
userLimitsBackend,
layergroupAffectedTablesCache,
authBackend,
surrogateKeysCache
authBackend
);
this.attributesLayergroupController = new AttributesLayergroupController(