From 185f9de09e5b84a2f50abafba3f6f9d38dcaf2e3 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 25 Jul 2018 17:13:56 +0530 Subject: Removed unwanted code Removed ngbModal from imports and constructor as it was not used. Issue-ID: APPC-1054 Change-Id: I92406941099384b1b17472d57c888041deb7e0a4 Signed-off-by: Arundathi Patil --- src/app/vnfs/LoginGuardService/Login-guard-service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/app/vnfs/LoginGuardService') diff --git a/src/app/vnfs/LoginGuardService/Login-guard-service.ts b/src/app/vnfs/LoginGuardService/Login-guard-service.ts index 35640d0..6c5663f 100644 --- a/src/app/vnfs/LoginGuardService/Login-guard-service.ts +++ b/src/app/vnfs/LoginGuardService/Login-guard-service.ts @@ -2,6 +2,8 @@ ============LICENSE_START========================================== =================================================================== Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + +Copyright (C) 2018 IBM Intellectual Property. All rights reserved. =================================================================== Unless otherwise specified, all software contained herein is licensed @@ -23,12 +25,11 @@ import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from ' import {Injectable} from '@angular/core'; import {MappingEditorService} from '../../shared/services/mapping-editor.service'; -import {NgbModal} from '@ng-bootstrap/ng-bootstrap'; @Injectable() export class LoginGuardService implements CanActivate { - constructor(private ngbModal: NgbModal, private mapService: MappingEditorService, private router: Router) { + constructor(private mapService: MappingEditorService, private router: Router) { } canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { -- cgit 1.2.3-korg