From 23db998f07d674c621972a769df73203b14e093a Mon Sep 17 00:00:00 2001 From: BO41 Date: Sat, 22 Sep 2018 20:11:16 +0200 Subject: remove unused imports --- .../+my-account/my-account-settings/my-account-settings.component.ts | 2 -- .../my-account-video-imports/my-account-video-imports.component.ts | 2 -- client/src/app/+my-account/shared/actor-avatar-info.component.ts | 4 ---- 3 files changed, 8 deletions(-) (limited to 'client/src/app/+my-account') diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts index 164a46a48..62053d97b 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts @@ -2,7 +2,6 @@ import { Component, OnInit, ViewChild } from '@angular/core' import { NotificationsService } from 'angular2-notifications' import { BytesPipe } from 'ngx-pipes' import { AuthService } from '../../core' -import { ServerService } from '../../core/server' import { User } from '../../shared' import { UserService } from '../../shared/users' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -20,7 +19,6 @@ export class MyAccountSettingsComponent implements OnInit { constructor ( private userService: UserService, private authService: AuthService, - private serverService: ServerService, private notificationsService: NotificationsService, private i18n: I18n ) {} diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts index 31ccb0bc8..d9fb20446 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts @@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core' import { RestPagination, RestTable } from '@app/shared' import { SortMeta } from 'primeng/components/common/sortmeta' import { NotificationsService } from 'angular2-notifications' -import { ConfirmService } from '@app/core' import { I18n } from '@ngx-translate/i18n-polyfill' import { VideoImport, VideoImportState } from '../../../../../shared/models/videos' import { VideoImportService } from '@app/shared/video-import' @@ -21,7 +20,6 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit constructor ( private notificationsService: NotificationsService, - private confirmService: ConfirmService, private videoImportService: VideoImportService, private i18n: I18n ) { diff --git a/client/src/app/+my-account/shared/actor-avatar-info.component.ts b/client/src/app/+my-account/shared/actor-avatar-info.component.ts index e0b25ad33..7b80b1ed4 100644 --- a/client/src/app/+my-account/shared/actor-avatar-info.component.ts +++ b/client/src/app/+my-account/shared/actor-avatar-info.component.ts @@ -1,7 +1,5 @@ import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core' -import { AuthService } from '../../core' import { ServerService } from '../../core/server' -import { UserService } from '../../shared/users' import { NotificationsService } from 'angular2-notifications' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { Account } from '@app/shared/account/account.model' @@ -19,8 +17,6 @@ export class ActorAvatarInfoComponent { @Output() avatarChange = new EventEmitter() constructor ( - private userService: UserService, - private authService: AuthService, private serverService: ServerService, private notificationsService: NotificationsService ) {} -- cgit v1.2.3