Mercurial > defr > drupal > core
view 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 |
line wrap: on
line source
<?php // $Id: cache-install.inc,v 1.2 2007/08/07 08:39:35 goba Exp $ /** * A stub cache implementation to be used during the installation * process when database access is not yet available. Because Drupal's * caching system never requires that cached data be present, these * stub functions can short-circuit the process and sidestep the * need for any persistent storage. Obviously, using this cache * implementation during normal operations would have a negative impact * on performance. */ function cache_get($key, $table = 'cache') { return FALSE; } function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL) { return; } function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) { return; }