mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 09:23:31 +02:00
Merge branch 'MDL-47835_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
d9033c0e6d
@ -294,12 +294,12 @@ class block_recent_activity extends block_base {
|
||||
if (!isset($modinfo->instances[$modname][$instanceid])) {
|
||||
continue;
|
||||
}
|
||||
$entry['cmid'] = $modinfo->instances[$modname][$instanceid]->id;
|
||||
if ($log->action == 'add mod') {
|
||||
$entry['action'] = 0;
|
||||
} else {
|
||||
$entry['action'] = 1;
|
||||
}
|
||||
$entry['cmid'] = $modinfo->instances[$modname][$instanceid]->id;
|
||||
}
|
||||
$entries[] = $entry;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user