diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-24 10:40:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 10:40:38 +0200 |
commit | 6937f26a5e8b17c7a27f267bce2682ab01611f2f (patch) | |
tree | 5d9b160e257a2bd116e67c9363b798f422ead44c /client/src/app/+my-account | |
parent | 01448622992b12318a2fff508e501732b59dd6be (diff) | |
parent | 0b4e5fe32708afce54212810738aa4d0c3dc178d (diff) | |
download | PeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.tar.gz PeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.tar.zst PeerTube-6937f26a5e8b17c7a27f267bce2682ab01611f2f.zip |
Merge pull request #1105 from BO41/unused-imports
remove unused imports
Diffstat (limited to 'client/src/app/+my-account')
3 files changed, 0 insertions, 8 deletions
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' | |||
2 | import { NotificationsService } from 'angular2-notifications' | 2 | import { NotificationsService } from 'angular2-notifications' |
3 | import { BytesPipe } from 'ngx-pipes' | 3 | import { BytesPipe } from 'ngx-pipes' |
4 | import { AuthService } from '../../core' | 4 | import { AuthService } from '../../core' |
5 | import { ServerService } from '../../core/server' | ||
6 | import { User } from '../../shared' | 5 | import { User } from '../../shared' |
7 | import { UserService } from '../../shared/users' | 6 | import { UserService } from '../../shared/users' |
8 | import { I18n } from '@ngx-translate/i18n-polyfill' | 7 | import { I18n } from '@ngx-translate/i18n-polyfill' |
@@ -20,7 +19,6 @@ export class MyAccountSettingsComponent implements OnInit { | |||
20 | constructor ( | 19 | constructor ( |
21 | private userService: UserService, | 20 | private userService: UserService, |
22 | private authService: AuthService, | 21 | private authService: AuthService, |
23 | private serverService: ServerService, | ||
24 | private notificationsService: NotificationsService, | 22 | private notificationsService: NotificationsService, |
25 | private i18n: I18n | 23 | private i18n: I18n |
26 | ) {} | 24 | ) {} |
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' | |||
2 | import { RestPagination, RestTable } from '@app/shared' | 2 | import { RestPagination, RestTable } from '@app/shared' |
3 | import { SortMeta } from 'primeng/components/common/sortmeta' | 3 | import { SortMeta } from 'primeng/components/common/sortmeta' |
4 | import { NotificationsService } from 'angular2-notifications' | 4 | import { NotificationsService } from 'angular2-notifications' |
5 | import { ConfirmService } from '@app/core' | ||
6 | import { I18n } from '@ngx-translate/i18n-polyfill' | 5 | import { I18n } from '@ngx-translate/i18n-polyfill' |
7 | import { VideoImport, VideoImportState } from '../../../../../shared/models/videos' | 6 | import { VideoImport, VideoImportState } from '../../../../../shared/models/videos' |
8 | import { VideoImportService } from '@app/shared/video-import' | 7 | import { VideoImportService } from '@app/shared/video-import' |
@@ -21,7 +20,6 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit | |||
21 | 20 | ||
22 | constructor ( | 21 | constructor ( |
23 | private notificationsService: NotificationsService, | 22 | private notificationsService: NotificationsService, |
24 | private confirmService: ConfirmService, | ||
25 | private videoImportService: VideoImportService, | 23 | private videoImportService: VideoImportService, |
26 | private i18n: I18n | 24 | private i18n: I18n |
27 | ) { | 25 | ) { |
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 @@ | |||
1 | import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core' | 1 | import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core' |
2 | import { AuthService } from '../../core' | ||
3 | import { ServerService } from '../../core/server' | 2 | import { ServerService } from '../../core/server' |
4 | import { UserService } from '../../shared/users' | ||
5 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
6 | import { VideoChannel } from '@app/shared/video-channel/video-channel.model' | 4 | import { VideoChannel } from '@app/shared/video-channel/video-channel.model' |
7 | import { Account } from '@app/shared/account/account.model' | 5 | import { Account } from '@app/shared/account/account.model' |
@@ -19,8 +17,6 @@ export class ActorAvatarInfoComponent { | |||
19 | @Output() avatarChange = new EventEmitter<FormData>() | 17 | @Output() avatarChange = new EventEmitter<FormData>() |
20 | 18 | ||
21 | constructor ( | 19 | constructor ( |
22 | private userService: UserService, | ||
23 | private authService: AuthService, | ||
24 | private serverService: ServerService, | 20 | private serverService: ServerService, |
25 | private notificationsService: NotificationsService | 21 | private notificationsService: NotificationsService |
26 | ) {} | 22 | ) {} |