aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/shared
diff options
context:
space:
mode:
authorBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
committerBO41 <lukasw41@gmail.com>2018-09-22 20:11:16 +0200
commit23db998f07d674c621972a769df73203b14e093a (patch)
tree6ecb88dc98bdbe69e113e4841d05aec34d6d0491 /client/src/app/+admin/follows/shared
parent9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff)
downloadPeerTube-23db998f07d674c621972a769df73203b14e093a.tar.gz
PeerTube-23db998f07d674c621972a769df73203b14e093a.tar.zst
PeerTube-23db998f07d674c621972a769df73203b14e093a.zip
remove unused imports
Diffstat (limited to 'client/src/app/+admin/follows/shared')
-rw-r--r--client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts6
-rw-r--r--client/src/app/+admin/follows/shared/redundancy.service.ts5
2 files changed, 2 insertions, 9 deletions
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 @@
1import { Component, Input } from '@angular/core' 1import { Component, Input } from '@angular/core'
2import { AuthService } from '@app/core'
3import { RestExtractor } from '@app/shared/rest'
4import { RedirectService } from '@app/core/routing/redirect.service'
5import { NotificationsService } from 'angular2-notifications' 2import { NotificationsService } from 'angular2-notifications'
6import { I18n } from '@ngx-translate/i18n-polyfill' 3import { I18n } from '@ngx-translate/i18n-polyfill'
7import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' 4import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service'
@@ -16,9 +13,6 @@ export class RedundancyCheckboxComponent {
16 @Input() host: string 13 @Input() host: string
17 14
18 constructor ( 15 constructor (
19 private authService: AuthService,
20 private restExtractor: RestExtractor,
21 private redirectService: RedirectService,
22 private notificationsService: NotificationsService, 16 private notificationsService: NotificationsService,
23 private redundancyService: RedundancyService, 17 private redundancyService: RedundancyService,
24 private i18n: I18n 18 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 @@
1import { catchError, map } from 'rxjs/operators' 1import { catchError, map } from 'rxjs/operators'
2import { HttpClient } from '@angular/common/http' 2import { HttpClient } from '@angular/common/http'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { RestExtractor, RestService } from '@app/shared' 4import { RestExtractor } from '@app/shared'
5import { environment } from '../../../../environments/environment' 5import { environment } from '../../../../environments/environment'
6 6
7@Injectable() 7@Injectable()
@@ -10,8 +10,7 @@ export class RedundancyService {
10 10
11 constructor ( 11 constructor (
12 private authHttp: HttpClient, 12 private authHttp: HttpClient,
13 private restExtractor: RestExtractor, 13 private restExtractor: RestExtractor
14 private restService: RestService
15 ) { } 14 ) { }
16 15
17 updateRedundancy (host: string, redundancyAllowed: boolean) { 16 updateRedundancy (host: string, redundancyAllowed: boolean) {