mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-33990 - yui2: remove 2 uncessary requirements
We no longer use yui2 logger and connection in set_user_prefs
This commit is contained in:
parent
ba3e7df265
commit
cfed1268ef
@ -36,9 +36,6 @@
|
||||
function user_preference_allow_ajax_update($name, $paramtype) {
|
||||
global $USER, $PAGE;
|
||||
|
||||
// Make sure that the required JavaScript libraries are loaded.
|
||||
$PAGE->requires->yui2_lib('connection');
|
||||
|
||||
// Record in the session that this user_preference is allowed to updated remotely.
|
||||
$USER->ajax_updatable_user_prefs[$name] = $paramtype;
|
||||
}
|
||||
|
@ -326,7 +326,6 @@ class page_requirements_manager {
|
||||
);
|
||||
if (debugging('', DEBUG_DEVELOPER)) {
|
||||
$this->M_cfg['developerdebug'] = true;
|
||||
$this->yui2_lib('logger');
|
||||
}
|
||||
|
||||
// accessibility stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user