Changeset 686
- Timestamp:
- 11/28/2011 08:43:23 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/wp/transposh_db.php
r667 r686 90 90 logger('apc', 5); 91 91 } elseif (function_exists('xcache_get')) { 92 $rc = xcache_isset($key);92 $rc = @xcache_isset($key); 93 93 if ($rc === false) return false; 94 $cached = xcache_get($key);94 $cached = @xcache_get($key); 95 95 logger('xcache', 5); 96 96 } elseif (function_exists('eaccelerator_get')) { … … 124 124 $rc = apc_store($key, $translated, $ttl); 125 125 } elseif (function_exists('xcache_set')) { 126 $rc = xcache_set($key, $translated, $ttl);126 $rc = @xcache_set($key, $translated, $ttl); 127 127 } elseif (function_exists('eaccelerator_put')) { 128 128 $rc = eaccelerator_put($key, $translated, $ttl); … … 150 150 apc_delete($key); 151 151 } elseif (function_exists('xcache_unset')) { 152 xcache_unset($key);152 @xcache_unset($key); 153 153 } elseif (function_exists('eaccelerator_rm')) { 154 154 eaccelerator_rm($key); … … 166 166 apc_clear_cache('user'); 167 167 } elseif (function_exists('xcache_unset_by_prefix')) { 168 xcache_unset_by_prefix();168 @xcache_unset_by_prefix(); 169 169 } 170 170 //TODO - clean on eaccelerator is not so clean...
Note: See TracChangeset
for help on using the changeset viewer.
