From 93ef8a9d02059da2fc90efedb7755c97e9e19ef4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Jan 2018 10:00:35 +0100 Subject: Send comment to followers and parents --- server/models/account/account.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'server/models/account') diff --git a/server/models/account/account.ts b/server/models/account/account.ts index c85d12824..47336d1e0 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts @@ -1,26 +1,15 @@ import * as Sequelize from 'sequelize' import { - AfterDestroy, - AllowNull, - BelongsTo, - Column, - CreatedAt, - DefaultScope, - ForeignKey, - HasMany, - Is, - Model, - Table, + AfterDestroy, AllowNull, BelongsTo, Column, CreatedAt, DefaultScope, ForeignKey, HasMany, Model, Table, UpdatedAt } from 'sequelize-typescript' import { Account } from '../../../shared/models/actors' -import { isUserUsernameValid } from '../../helpers/custom-validators/users' import { sendDeleteActor } from '../../lib/activitypub/send' import { ActorModel } from '../activitypub/actor' import { ApplicationModel } from '../application/application' import { AvatarModel } from '../avatar/avatar' import { ServerModel } from '../server/server' -import { getSort, throwIfNotValid } from '../utils' +import { getSort } from '../utils' import { VideoChannelModel } from '../video/video-channel' import { UserModel } from './user' -- cgit v1.2.3