From 788105dd3d98b8bbb4faaf18ced59e9cf67f1550 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Tue, 8 Oct 2013 13:24:34 +0800 Subject: [PATCH] MDL-41843 IMS-LTI: Fixed exception namespace --- mod/lti/OAuth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/lti/OAuth.php b/mod/lti/OAuth.php index 47bb8cddf8f..65e9b0f138a 100644 --- a/mod/lti/OAuth.php +++ b/mod/lti/OAuth.php @@ -181,7 +181,7 @@ class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod { // (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 @@ class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod { // (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) {