From e1ad90ba40b74ec103b9113e49b9792b2b422d22 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 13 Sep 2009 17:49:51 +0000 Subject: - Patch #575360 by dropcube: added API function to check if a cache bin is empty. --- includes/cache-install.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'includes/cache-install.inc') diff --git a/includes/cache-install.inc b/includes/cache-install.inc index 3ab41410d..3be7588eb 100644 --- a/includes/cache-install.inc +++ b/includes/cache-install.inc @@ -28,5 +28,8 @@ class DrupalFakeCache implements DrupalCacheInterface { function clear($cid = NULL, $wildcard = FALSE) { } - + + function isEmpty() { + return TRUE; + } } -- cgit v1.2.3