Merge branch 'MDL-59963-report-logs-origin-pagination' of https://github.com/lucaboesch/moodle

This commit is contained in:
David Monllao 2017-09-04 11:19:22 +02:00
commit 076d95ccc4

View File

@ -90,7 +90,9 @@ if ($logreader !== '') {
if (($edulevel != -1)) {
$params['edulevel'] = $edulevel;
}
if ($origin !== '') {
$params['origin'] = $origin;
}
// Legacy store hack, as edulevel is not supported.
if ($logreader == 'logstore_legacy') {
$params['edulevel'] = -1;