diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-16 16:09:58 +0530 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-08-19 19:32:16 +0000 |
commit | dc9d76e3c80ada490b15a78235dbf5953cb35a4f (patch) | |
tree | f9877f18217f8e9d1ecafebe5256c9efa73b5cea | |
parent | 393bb1ac8dcb3ee0326acebede88423bd3d32569 (diff) |
login-guard-service - removed unused code
The mapping-editor service is injected into login-guard-service, but is
never used. Hence removed it.
Issue-ID: APPC-1149
Change-Id: Ic11bcb8246199cc308fca0914e7e4e0d690716fb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r-- | src/app/vnfs/LoginGuardService/Login-guard-service.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/app/vnfs/LoginGuardService/Login-guard-service.ts b/src/app/vnfs/LoginGuardService/Login-guard-service.ts index 6c5663f..ddec7b5 100644 --- a/src/app/vnfs/LoginGuardService/Login-guard-service.ts +++ b/src/app/vnfs/LoginGuardService/Login-guard-service.ts @@ -3,7 +3,7 @@ =================================================================== Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. -Copyright (C) 2018 IBM Intellectual Property. All rights reserved. +Copyright (C) 2018 IBM. =================================================================== Unless otherwise specified, all software contained herein is licensed @@ -24,12 +24,11 @@ limitations under the License. import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from '@angular/router'; import {Injectable} from '@angular/core'; -import {MappingEditorService} from '../../shared/services/mapping-editor.service'; @Injectable() export class LoginGuardService implements CanActivate { - constructor(private mapService: MappingEditorService, private router: Router) { + constructor(private router: Router) { } canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { |