- AuthLib is loaded only in fhcauth_helper, PermissionLib and REST_Controller

- Removed all the NOT usefull loads of helpers and libraries
- Fixed undefined index in controllers/system/UDF and model system/UDF_model
- APIv1_Controller now loads helper fhcauth
- FHC_Controller now loads ithe fhc and session helpers too
- Added/Fixed comments
- PermissionLib does NOT use anymore the getAuthUID function from the fhcauth helper, now relies on AuthLib directly
- REST_Controller loads directly the AuthLib when is needed
This commit is contained in:
Paolo
2018-06-27 13:12:46 +02:00
parent 2f0048c0c3
commit d04b0450da
19 changed files with 155 additions and 166 deletions
-3
View File
@@ -35,9 +35,6 @@ class MessageLib
$this->ci->load->model('system/Recipient_model', 'RecipientModel');
$this->ci->load->model('system/Attachment_model', 'AttachmentModel');
// Loads fhc helper
$this->ci->load->helper('fhc');
// Loads phrases
$this->ci->lang->load('message');
}