Browse files

MDL-33990 - yui2: remove 2 uncessary requirements

We no longer use yui2 logger and connection in set_user_prefs
  • Loading branch information...
1 parent 66ff4c0 commit bed1c4a94363ba65db519516f505797a90270b9e @danpoltawski danpoltawski committed with Sam Hemelryk Jun 25, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −3 lib/ajax/ajaxlib.php
  2. +0 −1 lib/outputrequirementslib.php
View
3 lib/ajax/ajaxlib.php
@@ -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
1 lib/outputrequirementslib.php
@@ -326,7 +326,6 @@ protected function init_requirements_data(moodle_page $page, core_renderer $rend
);
if (debugging('', DEBUG_DEVELOPER)) {
$this->M_cfg['developerdebug'] = true;
- $this->yui2_lib('logger');
}
// accessibility stuff

0 comments on commit bed1c4a

Please sign in to comment.