]> git.mjollnir.org Git - moodle.git/commit
MDL-20939 backup & restore - avoid admins to be always included. Two things
authorEloy Lafuente <stronk7@moodle.org>
Tue, 24 Nov 2009 00:45:11 +0000 (00:45 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 24 Nov 2009 00:45:11 +0000 (00:45 +0000)
commit321ee52976dda9ca22a8d1554c58f4a574221129
treea8a24c71e679eb18c0cf95ce225fe6324532af7c
parent097495a1ee8b01191a6f485385c00b9e46beeb70
MDL-20939 backup & restore - avoid admins to be always included. Two things
were causing this: wrong get_users_by_capability() call and standard scales.
Improved scales restore to observe the 'moodle/course:managescales' cap.
Merged from 19_STABLE
backup/backuplib.php
backup/restorelib.php