patch for disabling memcache (deprecated)