refactor: remove cross-component runtime dependencies
Moodle Plugin CI / test (push) Successful in 3m20s
Moodle Plugin CI / test (push) Successful in 3m20s
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ class local_webhooks_events {
|
||||
public static function response_answer($objectid = 0, array $response = []) {
|
||||
$context = context_system::instance();
|
||||
|
||||
$status = 'Error sending request';
|
||||
$status = get_string('errorsendingrequest', 'local_webhooks');
|
||||
if (!empty($response['HTTP/1.1'])) {
|
||||
$status = $response['HTTP/1.1'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user