Skip to content

Commit

Permalink
MDL-32620 whitespace + comment fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 19, 2013
1 parent 2fc00b3 commit 8e628ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod/lti/locallib.php
Expand Up @@ -163,15 +163,15 @@ function lti_view($instance) {
if (empty($key) || empty($secret)) {
$returnurlparams['unsigned'] = '1';
}
// Add the return URL. We send the launch container along to help us avoid frames-within-frames when the user returns

// Add the return URL. We send the launch container along to help us avoid frames-within-frames when the user returns.
$url = new moodle_url('/mod/lti/return.php', $returnurlparams);
$returnurl = $url->out(false);

if ($typeconfig['forcessl'] == '1') {
$returnurl = lti_ensure_url_is_https($returnurl);
}

$requestparams['launch_presentation_return_url'] = $returnurl;

if (!empty($key) && !empty($secret)) {
Expand Down

0 comments on commit 8e628ee

Please sign in to comment.