Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'MDL-60615-32' of git://github.com/damyon/moodle into MO…
- Loading branch information
|
@@ -112,7 +112,7 @@ private function create_node_course_modules_mod_forum ($instance) { |
|
|
|
|
|
public function get_topic_data ($instance) { |
|
|
|
|
|
$topic_data = ''; |
|
|
$topic_data = array(); |
|
|
|
|
|
$topic_file = $this->get_external_xml($instance['resource_indentifier']); |
|
|
|
|
|
|
@@ -68,7 +68,7 @@ private function generate_instances () { |
|
|
$last_question_id = 0; |
|
|
$last_answer_id = 0; |
|
|
|
|
|
$instances = ''; |
|
|
$instances = array(); |
|
|
|
|
|
$types = array(MOODLE_TYPE_QUIZ, MOODLE_TYPE_QUESTION_BANK); |
|
|
|
|
|
|
@@ -87,7 +87,7 @@ protected function getValue($node, $default = '') { |
|
|
|
|
|
public function get_basiclti_data($instance) { |
|
|
|
|
|
$topic_data = ''; |
|
|
$topic_data = array(); |
|
|
|
|
|
$basiclti_file = $this->get_external_xml($instance['resource_indentifier']); |
|
|
|
|
|
|
@@ -111,7 +111,7 @@ private function create_node_course_modules_mod_forum ($instance) { |
|
|
|
|
|
public function get_topic_data ($instance) { |
|
|
|
|
|
$topic_data = ''; |
|
|
$topic_data = array(); |
|
|
|
|
|
$topic_file = $this->get_external_xml($instance['resource_indentifier']); |
|
|
|
|
|
|
@@ -82,7 +82,7 @@ protected function getValue($node, $default = '') { |
|
|
|
|
|
public function get_basiclti_data($instance) { |
|
|
|
|
|
$topic_data = ''; |
|
|
$topic_data = array(); |
|
|
|
|
|
$basiclti_file = $this->get_external_xml($instance['resource_indentifier']); |
|
|
|
|
|
|
@@ -68,7 +68,7 @@ private function generate_instances () { |
|
|
$last_question_id = 0; |
|
|
$last_answer_id = 0; |
|
|
|
|
|
$instances = ''; |
|
|
$instances = array(); |
|
|
|
|
|
$types = array(MOODLE_TYPE_QUIZ, MOODLE_TYPE_QUESTION_BANK); |
|
|
|
|
|