Merge branch 'MDL-41630-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Sam Hemelryk 2013-09-11 09:20:53 +12:00
commit f773cb2e94

@ -228,9 +228,7 @@ class oauth_helper {
// oauth_token_secret
$result = $this->parse_result($content);
if (empty($result['oauth_token'])) {
// failed
var_dump($result);
exit;
throw new moodle_exception('Error while requesting an oauth token');
}
// build oauth authrize url
if (!empty($this->oauth_callback)) {