From 23db998f07d674c621972a769df73203b14e093a Mon Sep 17 00:00:00 2001 From: BO41 Date: Sat, 22 Sep 2018 20:11:16 +0200 Subject: remove unused imports --- .../src/app/+admin/follows/shared/redundancy-checkbox.component.ts | 6 ------ client/src/app/+admin/follows/shared/redundancy.service.ts | 5 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'client/src/app/+admin/follows/shared') diff --git a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts index ff4725e91..6d77a0eb4 100644 --- a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts +++ b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts @@ -1,7 +1,4 @@ import { Component, Input } from '@angular/core' -import { AuthService } from '@app/core' -import { RestExtractor } from '@app/shared/rest' -import { RedirectService } from '@app/core/routing/redirect.service' import { NotificationsService } from 'angular2-notifications' import { I18n } from '@ngx-translate/i18n-polyfill' import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' @@ -16,9 +13,6 @@ export class RedundancyCheckboxComponent { @Input() host: string constructor ( - private authService: AuthService, - private restExtractor: RestExtractor, - private redirectService: RedirectService, private notificationsService: NotificationsService, private redundancyService: RedundancyService, private i18n: I18n diff --git a/client/src/app/+admin/follows/shared/redundancy.service.ts b/client/src/app/+admin/follows/shared/redundancy.service.ts index 96b29faab..87ae01c04 100644 --- a/client/src/app/+admin/follows/shared/redundancy.service.ts +++ b/client/src/app/+admin/follows/shared/redundancy.service.ts @@ -1,7 +1,7 @@ import { catchError, map } from 'rxjs/operators' import { HttpClient } from '@angular/common/http' import { Injectable } from '@angular/core' -import { RestExtractor, RestService } from '@app/shared' +import { RestExtractor } from '@app/shared' import { environment } from '../../../../environments/environment' @Injectable() @@ -10,8 +10,7 @@ export class RedundancyService { constructor ( private authHttp: HttpClient, - private restExtractor: RestExtractor, - private restService: RestService + private restExtractor: RestExtractor ) { } updateRedundancy (host: string, redundancyAllowed: boolean) { -- cgit v1.2.3