MDL-33990 - yui2: remove 2 uncessary requirements

We no longer use yui2 logger and connection in set_user_prefs
This commit is contained in:
Dan Poltawski 2012-06-25 14:26:54 +08:00
parent ba3e7df265
commit cfed1268ef
2 changed files with 0 additions and 4 deletions

View File

@ -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;
}

View File

@ -326,7 +326,6 @@ class page_requirements_manager {
);
if (debugging('', DEBUG_DEVELOPER)) {
$this->M_cfg['developerdebug'] = true;
$this->yui2_lib('logger');
}
// accessibility stuff