Changeset 2394 for trunk/system/libraries/Cache.php
- Timestamp:
- 04/01/2008 05:08:13 AM (8 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Cache.php
r2377 r2394 82 82 if (self::$loaded !== TRUE) 83 83 { 84 if (mt_rand(0, (int) $this->config['requests']) === 1) 84 $this->config['requests'] = (int) $this->config['requests']; 85 86 if ($this->config['requests'] > 0 AND mt_rand(1, $this->config['requests']) === 1) 85 87 { 86 88 // Do garbage collection
