remove getTicket and fix tasklist filter

This commit is contained in:
Eugenio Romano
2016-08-23 12:24:09 +01:00
parent a02a17d78b
commit 2f64605c93
3 changed files with 9 additions and 17 deletions

View File

@@ -133,18 +133,6 @@ export class AlfrescoAuthenticationService {
}
}
/**
* The method return the ECM and Bpm in an Array ticket stored in the localStorage
* @returns ticket
*/
public getTicket(): any {
if (localStorage.getItem('ticket-ECM') || localStorage.getItem('ticket-BPM')) {
return [localStorage.getItem('ticket-ECM'), localStorage.getItem('ticket-BPM')];
} else {
return null;
}
}
/**
* The method return the BPM ticket stored in the localStorage
* @returns ticket