mirror of
https://github.com/moodle/moodle.git
synced 2025-03-01 06:22:39 +01:00
Merge branch 'MDL-41630-master' of git://github.com/FMCorz/moodle
This commit is contained in:
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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user