Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-41843 IMS-LTI: Fixed exception namespace

  • Loading branch information...
commit 788105dd3d98b8bbb4faaf18ced59e9cf67f1550 1 parent 80cee53
@rajeshtaneja rajeshtaneja authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/lti/OAuth.php
View
4 mod/lti/OAuth.php
@@ -181,7 +181,7 @@ protected function fetch_public_cert(&$request) {
// (3) some sort of specific discovery code based on request
//
// either way should return a string representation of the certificate
- throw Exception("fetch_public_cert not implemented");
+ throw OAuthException("fetch_public_cert not implemented");
}
protected function fetch_private_cert(&$request) {
@@ -189,7 +189,7 @@ protected function fetch_private_cert(&$request) {
// (1) do a lookup in a table of trusted certs keyed off of consumer
//
// either way should return a string representation of the certificate
- throw Exception("fetch_private_cert not implemented");
+ throw OAuthException("fetch_private_cert not implemented");
}
public function build_signature(&$request, $consumer, $token) {
Please sign in to comment.
Something went wrong with that request. Please try again.