Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 862... Línea 862...
862
        if (core_tag_tag::is_enabled('core_question', 'question')) {
862
        if (core_tag_tag::is_enabled('core_question', 'question')) {
863
            $tagobjects = core_tag_tag::get_item_tags('core_question', 'question', $questiondata->id);
863
            $tagobjects = core_tag_tag::get_item_tags('core_question', 'question', $questiondata->id);
Línea 864... Línea 864...
864
 
864
 
865
            if (!empty($tagobjects)) {
865
            if (!empty($tagobjects)) {
866
                $context = context::instance_by_id($questiondata->contextid);
866
                $context = context::instance_by_id($questiondata->contextid);
Línea 867... Línea 867...
867
                $sortedtagobjects = question_sort_tags($tagobjects, $context, [$this->course]);
867
                $sortedtagobjects = question_sort_tags($tagobjects, $context);
Línea 868... Línea 868...
868
 
868
 
869
                // Currently we ignore course tags. This should probably be fixed in future.
869
                // Currently we ignore course tags. This should probably be fixed in future.