Initial code using Drupal 6.38
This commit is contained in:
commit
4824608a33
467 changed files with 90887 additions and 0 deletions
23
includes/cache-install.inc
Normal file
23
includes/cache-install.inc
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
Reference in a new issue