MDL-55314 mod_lti: Several fixes to lti_load_cartridge
commit528a9d1a02f5e03847da94ff8d7e0f4edd325f60
authorMark Nielsen <mark@moodlerooms.com>
Fri, 22 Jul 2016 18:10:10 +0000 (22 11:10 -0700)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 2 Aug 2016 15:40:46 +0000 (2 17:40 +0200)
tree44a449b89e446f18a5ae6a47e79f3f702970054d
parent790b9eab79a2053693d5337aeb9669f13260cd91
MDL-55314 mod_lti: Several fixes to lti_load_cartridge

* Fixed XML loading when there is an error
* Fixed exception thrown by lti_load_cartridge
* By default, don't allow LTI mod generator to
  use a toolurl as that results in a cURL call.
mod/lti/locallib.php
mod/lti/tests/externallib_test.php
mod/lti/tests/generator/lib.php