mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-12501] removee unused method
This commit is contained in:
@@ -45,7 +45,8 @@ export class SitesService {
|
|||||||
return this._sitesApi;
|
return this._sitesApi;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(private apiService: AlfrescoApiService, private logService: LogService) {
|
constructor(private apiService: AlfrescoApiService,
|
||||||
|
private logService: LogService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -140,15 +141,6 @@ export class SitesService {
|
|||||||
return from(this.sitesApi.listSiteMemberships(siteId, opts));
|
return from(this.sitesApi.listSiteMemberships(siteId, opts));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the username of the user currently logged into ACS.
|
|
||||||
*
|
|
||||||
* @returns Username string
|
|
||||||
*/
|
|
||||||
getEcmCurrentLoggedUserName(): string {
|
|
||||||
return this.apiService.getInstance().getEcmUsername();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Looks for a site inside the path of a Node and returns its guid if it finds one.
|
* Looks for a site inside the path of a Node and returns its guid if it finds one.
|
||||||
* (return an empty string if no site is found)
|
* (return an empty string if no site is found)
|
||||||
|
|||||||
Reference in New Issue
Block a user