mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'w28_MDL-8249_m24_roletranslations' of git://github.com/skodak/moodle
Conflicts: lib/db/upgrade.php version.php
This commit is contained in:
commit
e1980f8bb9
37 changed files with 631 additions and 422 deletions
|
@ -347,7 +347,6 @@ abstract class restore_dbops {
|
|||
|
||||
// Gather various information about roles
|
||||
$coursectx = get_context_instance(CONTEXT_COURSE, $courseid);
|
||||
$allroles = $DB->get_records('role');
|
||||
$assignablerolesshortname = get_assignable_roles($coursectx, ROLENAME_SHORT, false, $userid);
|
||||
|
||||
// Note: under 1.9 we had one function restore_samerole() that performed one complete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue