Skip to content

Commit

Permalink
fix: Fixes undefined variable to close #327. (#331 - Thanks @garemoko)
Browse files Browse the repository at this point in the history
  • Loading branch information
garemoko authored and ryasmi committed Dec 5, 2018
1 parent a20f867 commit 6ffc11f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/loader/lrs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/loader/moodle_curl_lrs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ffc11f

Please sign in to comment.