diff --git a/README.md b/README.md
index 68a30793392302e138f9b67d02cb1c4ff33497ac..fa82b25f0c27b55418192a5b91fad1c0281b0866 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
 # Thème Exam
 
-Thème Moodle basé sur Boost
\ No newline at end of file
+Thème Moodle basé sur Boost
+
+Compatible Moodle 4.5
\ No newline at end of file
diff --git a/layout/drawers.php b/layout/drawers.php
index e63c525bc45ba7dac1da5d063cc7628aa39d3ecf..e5768587295ac843e5f0e5d6b8ebe854786284e0 100644
--- a/layout/drawers.php
+++ b/layout/drawers.php
@@ -30,10 +30,6 @@ require_once($CFG->dirroot . '/course/lib.php');
 // Add block button in editing mode.
 $addblockbutton = $OUTPUT->addblockbutton();
 
-user_preference_allow_ajax_update('drawer-open-nav', PARAM_ALPHA);
-user_preference_allow_ajax_update('drawer-open-index', PARAM_BOOL);
-user_preference_allow_ajax_update('drawer-open-block', PARAM_BOOL);
-
 if (isloggedin()) {
     $courseindexopen = (get_user_preferences('drawer-open-index', true) == true);
     $blockdraweropen = (get_user_preferences('drawer-open-block') == true);