Skip to content
Browse files

MDL-40005: LTI module uses Apache specific function for retrieving re…

…quest headers
  • Loading branch information...
1 parent cd08b5c commit 9da794f8aaa771284ecd76fadc053b8eb0338f50 @mrmark mrmark committed with Sam Hemelryk Jul 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/service.php
View
2 mod/lti/service.php
@@ -33,7 +33,7 @@
$rawbody = file_get_contents("php://input");
-foreach (getallheaders() as $name => $value) {
+foreach (lti\OAuthUtil::get_headers() as $name => $value) {
if ($name === 'Authorization') {
// TODO: Switch to core oauthlib once implemented - MDL-30149
$oauthparams = lti\OAuthUtil::split_header($value);

0 comments on commit 9da794f

Please sign in to comment.
Something went wrong with that request. Please try again.