Skip to content

Commit

Permalink
chore(core): Remove unused product variant subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jul 11, 2019
1 parent e0583dd commit b444a5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.

This file was deleted.

3 changes: 0 additions & 3 deletions packages/core/src/entity/subscribers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { EntitySubscriberInterface, EventSubscriber, InsertEvent } from 'typeorm

import { CALCULATED_PROPERTIES } from '../common/calculated-decorator';

import { ProductVariantSubscriber } from './product-variant/product-variant.subscriber';

@EventSubscriber()
export class CalculatedPropertySubscriber implements EntitySubscriberInterface {
afterLoad(event: any) {
Expand Down Expand Up @@ -45,6 +43,5 @@ export class CalculatedPropertySubscriber implements EntitySubscriberInterface {
* A map of the core TypeORM Subscribers.
*/
export const coreSubscribersMap = {
ProductVariantSubscriber,
CalculatedPropertySubscriber,
};

0 comments on commit b444a5a

Please sign in to comment.