Closed danmarsden closed 8 months ago
We've updated the code to utilize the get_config() APIs for improved performance and caching.
Hi @sreenivasmalae ,
Just a suggestion, instead fetch the object you could use something like this:
$tokenid = get_config('local_levitate', 'secret');
Also I don't see where it is used $tokenid in create_course.php file
Hi @raortegar
We have updated the code as per your suggestion.
https://github.com/Human-Logic-Software-LLC/mdl_levitate/blob/main/explore.php#L29
Please use the get_config() api's instead as this is cached/better for general performance.