annotate includes/cache-install.inc @ 20:e3d20ebd63d1 tip

Added tag 6.9 for changeset 3edae6ecd6c6
author Franck Deroche <franck@defr.org>
date Thu, 15 Jan 2009 10:16:10 +0100
parents c1f4ac30525a
children
rev   line source
webmaster@1 1 <?php
webmaster@1 2 // $Id: cache-install.inc,v 1.2 2007/08/07 08:39:35 goba Exp $
webmaster@1 3
webmaster@1 4 /**
webmaster@1 5 * A stub cache implementation to be used during the installation
webmaster@1 6 * process when database access is not yet available. Because Drupal's
webmaster@1 7 * caching system never requires that cached data be present, these
webmaster@1 8 * stub functions can short-circuit the process and sidestep the
webmaster@1 9 * need for any persistent storage. Obviously, using this cache
webmaster@1 10 * implementation during normal operations would have a negative impact
webmaster@1 11 * on performance.
webmaster@1 12 */
webmaster@1 13
webmaster@1 14 function cache_get($key, $table = 'cache') {
webmaster@1 15 return FALSE;
webmaster@1 16 }
webmaster@1 17
webmaster@1 18 function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL) {
webmaster@1 19 return;
webmaster@1 20 }
webmaster@1 21
webmaster@1 22 function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) {
webmaster@1 23 return;
webmaster@1 24 }