Changeset 3086
- Timestamp:
- 11/14/05 21:29:30 (3 years ago)
- Files:
-
- trunk/wp-includes/cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/cache.php
r3062 r3086 76 76 } 77 77 78 function delete($id, $group = 'default' ) {79 if ( empty($group) ) 80 $group = 'default'; 81 82 if ( false === $this->get($id, $group, false) )78 function delete($id, $group = 'default', $force = false) { 79 if ( empty($group) ) 80 $group = 'default'; 81 82 if ( !$force && false === $this->get($id, $group, false) ) 83 83 return false; 84 84 … … 129 129 if ( (filemtime($cache_file) + $this->expiration_time) <= $now ) { 130 130 $this->cache_misses += 1; 131 $this->delete($id, $group );131 $this->delete($id, $group, true); 132 132 return false; 133 133 }
