From 6ffc11f97f0648fe36744ed22d758ee0f2bdcbd2 Mon Sep 17 00:00:00 2001 From: Andrew Downes Date: Wed, 5 Dec 2018 14:50:40 +0000 Subject: [PATCH] fix: Fixes undefined variable to close #327. (#331 - Thanks @garemoko) --- src/loader/lrs.php | 1 - src/loader/moodle_curl_lrs.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/loader/lrs.php b/src/loader/lrs.php index 781be00b5..5eff8fd24 100644 --- a/src/loader/lrs.php +++ b/src/loader/lrs.php @@ -24,7 +24,6 @@ function load(array $config, array $events) { $endpoint = $config['lrs_endpoint']; $username = $config['lrs_username']; $password = $config['lrs_password']; - $proxyendpoint = $config['lrs_proxy_endpoint']; $url = utils\correct_endpoint($endpoint).'/statements'; $auth = base64_encode($username.':'.$password); diff --git a/src/loader/moodle_curl_lrs.php b/src/loader/moodle_curl_lrs.php index f78cfc068..f559c9c64 100644 --- a/src/loader/moodle_curl_lrs.php +++ b/src/loader/moodle_curl_lrs.php @@ -30,7 +30,6 @@ function load(array $config, array $events) { $endpoint = $config['lrs_endpoint']; $username = $config['lrs_username']; $password = $config['lrs_password']; - $proxyendpoint = $config['lrs_proxy_endpoint']; $url = utils\correct_endpoint($endpoint).'/statements'; $auth = base64_encode($username.':'.$password);