From 7a2bb295dba7fec6c5d6be965a447ce0fd416131 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 11 Jan 2016 14:03:21 -0300 Subject: [PATCH] Remove unused parameters --- src/app/index.run.js | 4 ++-- src/app/profile/profile.controller.js | 2 +- src/index.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/index.run.js b/src/app/index.run.js index 2aa7127..de551b9 100644 --- a/src/app/index.run.js +++ b/src/app/index.run.js @@ -6,8 +6,8 @@ .run(runBlock); /** @ngInject */ - function runBlock($log, Restangular, Session, AuthService) { - Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers, params, httpConfig) { + function runBlock($log, Restangular, Session) { + Restangular.addFullRequestInterceptor(function(element, operation, route, url, headers) { if(Session.getCurrentUser()) { headers['Private-Token'] = Session.getCurrentUser().private_token; } diff --git a/src/app/profile/profile.controller.js b/src/app/profile/profile.controller.js index d86830d..f125ba8 100644 --- a/src/app/profile/profile.controller.js +++ b/src/app/profile/profile.controller.js @@ -7,7 +7,7 @@ /** @ngInject */ - function ProfileController(noosfero, $log, $stateParams, $http) { + function ProfileController(noosfero, $log, $stateParams) { var vm = this; vm.boxes = []; activate(); diff --git a/src/index.html b/src/index.html index d347022..04e169b 100644 --- a/src/index.html +++ b/src/index.html @@ -1,7 +1,7 @@ - + angular -- libgit2 0.21.2