MDL-66431 core: Remove activity chooser user preference.

This commit removes activity chooser user preference and
course preference page. Separate dropdowns to activity and
resource is also removed.
This commit is contained in:
Ilya Tregubov
2021-05-01 16:21:59 +02:00
parent 0a986fdf13
commit 430746d3a2
12 changed files with 119 additions and 247 deletions
-2
View File
@@ -947,8 +947,6 @@ class core_user {
return ($USER->id != $user->id && (has_capability('moodle/user:update', $systemcontext) ||
($user->timecreated > time() - 10 && has_capability('moodle/user:create', $systemcontext))));
});
$preferences['usemodchooser'] = array('type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED, 'default' => 1,
'choices' => array(0, 1));
$preferences['forum_markasreadonnotification'] = array('type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED, 'default' => 1,
'choices' => array(0, 1));
$preferences['htmleditor'] = array('type' => PARAM_NOTAGS, 'null' => NULL_ALLOWED,