Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 545a0c5451174fcb2fe4cd0fbc1d7761d756ea53 Mon Sep 17 00:00:00 2001
From: Brian Tully <btully@about.com>
Date: Tue, 31 May 2011 14:27:37 -0400
Subject: [PATCH] hotfix for cs_memcache revert error
---
.../modules/csearch/cs_memcache/cs_memcache.inc | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/src/sites/all/modules/csearch/cs_memcache/cs_memcache.inc b/src/sites/all/modules/csearch/cs_memcache/cs_memcache.inc
index 206ecf2..12071d2 100644
--- a/src/sites/all/modules/csearch/cs_memcache/cs_memcache.inc
+++ b/src/sites/all/modules/csearch/cs_memcache/cs_memcache.inc
@@ -4,20 +4,6 @@
define('CS_MEMCACHE_URL_PREFIX_MOBILE', 'm/');
define('CS_MEMCACHE_URL_PREFIX_DESKTOP', 'd/');
-/**
- * Defines the period after which wildcard clears are not considered valid.
- */
-define('MEMCACHE_WILDCARD_INVALIDATE', 86400 * 28);
-
-/**
- * Define a unique string for registering content flushes.
- *
- * This must not be confused with wildcard flushes or actual cids, so needs
- * to be relatively unique.
- */
-define('MEMCACHE_CONTENT_FLUSH', 'MEMCACHE_CONTENT_FLUSH');
-require_once variable_get('memcache_extra_include', 'sites/all/modules/memcache/database.inc');
-
// FIXME: MPB: This should probably not be hardcoded like this.
require_once 'sites/all/modules/memcache/dmemcache.inc';
--
1.7.3.1+GitX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment