mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 21:29:28 +00:00
2ee0c95467
- Removed deprecated methods from the DMSLib, these were the "problematic" types of methods: - Methods that would perform an upload/download of the file (should be performed by a controller) - Methods that were returning a base64 representation of the file (what if the file is a 1Gb?) - Methods that were performing operation on the akte (should be done in the AkteLib) - The first two types have been removed and added new utility method to read a file (wrapper of the DMSFSModel) - The last type of methods has been removed and same functionalities already exists in the AkteLib - Minor fixes - AkteLib: - Added new methods to get an akte with relative content (even from the DMS) with different parameters (akte_id, person_id, dokument_kurzbz, signiert, stud_selfservice) - AkteModel: - Removed the getArchiv method - Replaced the usage of the AkteModel with the AkteLib as much as possible. AkteModel is used mainly to quickly check if an akte exists or not, otherwise the AkteLib is used for read/write operations - Replaced the DmsLib usage with the AkteLib usage where the old deprecated DmsLib methods, that were working with the akte too, were used