Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 47... Línea 47...
47
    // Re-create the exact report that is being downloaded.
47
    // Re-create the exact report that is being downloaded.
48
    $systemreport = system_report_factory::create($reportpersistent->get('source'), $context, $reportpersistent->get('component'),
48
    $systemreport = system_report_factory::create($reportpersistent->get('source'), $context, $reportpersistent->get('component'),
49
        $reportpersistent->get('area'), $reportpersistent->get('itemid'), $parameters);
49
        $reportpersistent->get('area'), $reportpersistent->get('itemid'), $parameters);
Línea 50... Línea 50...
50
 
50
 
51
    if (!$systemreport->can_be_downloaded()) {
51
    if (!$systemreport->can_be_downloaded()) {
52
        throw new \core_reportbuilder\report_access_exception();
52
        throw new \core_reportbuilder\exception\report_access_exception();
Línea 53... Línea 53...
53
    }
53
    }
54
 
54