From 319234067d55dfb67b911dd6aae92841c24e4c1a Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Thu, 21 May 2020 02:22:04 +0300 Subject: [PATCH] chore: remove setRouteReuse from localization.service --- .../packages/core/src/lib/services/localization.service.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/services/localization.service.ts b/npm/ng-packs/packages/core/src/lib/services/localization.service.ts index 565a408c7c..3f89642fd9 100644 --- a/npm/ng-packs/packages/core/src/lib/services/localization.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/localization.service.ts @@ -42,12 +42,6 @@ export class LocalizationService { this.languageChange.subscribe(({ payload }) => this.registerLocale(payload)); } - /** - * - * @deprecated To be deleted in v2.9 - */ - setRouteReuse(reuse: ShouldReuseRoute) {} - registerLocale(locale: string) { const router = this.injector.get(Router); const { shouldReuseRoute } = router.routeReuseStrategy;