mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Merge pull request #1383 from Alfresco/dev-mvitale-1370
Remove use of deprecated Services
This commit is contained in:
@@ -23,8 +23,8 @@ import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { SearchModule } from 'ng2-alfresco-search';
|
||||
|
||||
import {
|
||||
AlfrescoSettingsService,
|
||||
AlfrescoAuthenticationService,
|
||||
SettingsService,
|
||||
AuthService,
|
||||
AlfrescoTranslationService
|
||||
} from 'ng2-alfresco-core';
|
||||
|
||||
@@ -57,8 +57,8 @@ class SearchDemo implements OnInit {
|
||||
|
||||
ticket: string;
|
||||
|
||||
constructor(private authService: AlfrescoAuthenticationService,
|
||||
private settingsService: AlfrescoSettingsService,
|
||||
constructor(private authService: AuthService,
|
||||
private settingsService: SettingsService,
|
||||
translation: AlfrescoTranslationService) {
|
||||
|
||||
settingsService.ecmHost = this.ecmHost;
|
||||
|
Reference in New Issue
Block a user