From 3c19ba16123c54b5ca182d127f9b2ae41b382141 Mon Sep 17 00:00:00 2001
From: Alex Verbruggen <alexander.verbruggen@hp.com>
Date: Wed, 26 Dec 2012 12:27:20 +0100
Subject: [PATCH] Comment out caching to make masquerade form work

---
 admin_menu.module |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/admin_menu.module b/admin_menu.module
index 68dd27e..cbb3dc4 100644
--- a/admin_menu.module
+++ b/admin_menu.module
@@ -503,16 +503,16 @@ function admin_menu_output() {
 
     $content = drupal_render($content);
 
-    // Cache the menu for this user.
-    if ($cache_server_enabled) {
-      cache_set($cid, $content, 'cache_menu');
-    }
+//     // Cache the menu for this user.
+//     if ($cache_server_enabled) {
+//       cache_set($cid, $content, 'cache_menu');
+//     }
   }
 
-  // Store the new hash for this user.
-  if (!empty($_COOKIE['has_js'])) {
-    admin_menu_cache_set($cid, md5($content));
-  }
+//   // Store the new hash for this user.
+//   if (!empty($_COOKIE['has_js'])) {
+//     admin_menu_cache_set($cid, md5($content));
+//   }
 
   return $content;
 }
-- 
1.7.7.1.msysgit.0

