equal
deleted
inserted
replaced
|
1 <?php |
|
2 // $Id: cache-install.inc,v 1.2 2007/08/07 08:39:35 goba Exp $ |
|
3 |
|
4 /** |
|
5 * A stub cache implementation to be used during the installation |
|
6 * process when database access is not yet available. Because Drupal's |
|
7 * caching system never requires that cached data be present, these |
|
8 * stub functions can short-circuit the process and sidestep the |
|
9 * need for any persistent storage. Obviously, using this cache |
|
10 * implementation during normal operations would have a negative impact |
|
11 * on performance. |
|
12 */ |
|
13 |
|
14 function cache_get($key, $table = 'cache') { |
|
15 return FALSE; |
|
16 } |
|
17 |
|
18 function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL) { |
|
19 return; |
|
20 } |
|
21 |
|
22 function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) { |
|
23 return; |
|
24 } |