Changeset 3517 for trunk/wp-includes/cache.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r3504 r3517 104 104 if ( ! $this->acquire_lock() ) 105 105 return false; 106 106 107 107 $this->rm_cache_dir(); 108 108 $this->cache = array (); 109 109 $this->dirty_objects = array (); 110 110 $this->non_existant_objects = array (); 111 111 112 112 $this->release_lock(); 113 113 … … 249 249 if ($file == '.' or $file == '..') 250 250 continue; 251 251 252 252 if (@ is_dir($dir . DIRECTORY_SEPARATOR . $file)) 253 253 $stack[] = $dir . DIRECTORY_SEPARATOR . $file; … … 355 355 @ unlink($temp_file); 356 356 else 357 $errors++; 357 $errors++; 358 358 } 359 359 @ chmod($cache_file, $file_perms); … … 364 364 365 365 $this->release_lock(); 366 366 367 367 if ( $errors ) 368 368 return false;
Note: See TracChangeset
for help on using the changeset viewer.