Merge pull request #1383 from Alfresco/dev-mvitale-1370

Remove use of deprecated Services
This commit is contained in:
Mario Romano
2017-01-04 19:42:41 +00:00
committed by GitHub
29 changed files with 107 additions and 107 deletions

View File

@@ -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;