cache-install.inc

Archivo

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

Functions