From e21c56bdb05fe9c422f59d845adf8ee32c5fab05 Mon Sep 17 00:00:00 2001 From: jerome mouneyrac Date: Tue, 3 Aug 2010 06:59:47 +0000 Subject: [PATCH] webservice MDL-23440 more explicit error message when validation context fail in some external functions (missing lang file modification). --- lang/en/webservice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/en/webservice.php b/lang/en/webservice.php index 8bfbcfcca8544..2051dbd981cd7 100644 --- a/lang/en/webservice.php +++ b/lang/en/webservice.php @@ -70,6 +70,7 @@ $string['entertoken'] = 'Enter a security key/token:'; $string['error'] = 'Error: {$a}'; $string['errorcodes'] = 'Error message'; +$string['errorcoursecontextnotvalid'] = 'You cannot execute functions in the course context (course id:{$a->courseid}). The context error message was: {$a->message}'; $string['errorinvalidparamsapi'] = 'Invalid external api parameter'; $string['errorinvalidparamsdesc'] = 'Invalid external api description'; $string['errorinvalidresponseapi'] = 'Invalid external api response';