From dc9d76e3c80ada490b15a78235dbf5953cb35a4f Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Thu, 16 Aug 2018 16:09:58 +0530 Subject: 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 --- src/app/vnfs/LoginGuardService/Login-guard-service.ts | 5 ++--- 1 file 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 { -- cgit 1.2.3-korg