Commit 0de22e92 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Added post data sanitising before passing to the external service.

Added user's capability check.
Few plugin API logic optimizing.
Added http curl setting script.
Added proper exception naming.

https://transfer.hft-stuttgart.de/gitlab/ulrike.pado/asyst-moodle-plugin/-/issues/4
parent f310c980
...@@ -113,4 +113,6 @@ function retry_api_request(client $apiclient, array $payload, int $maxretries = ...@@ -113,4 +113,6 @@ function retry_api_request(client $apiclient, array $payload, int $maxretries =
} }
} }
} }
return false; // Return false if all retries fail.
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment