equal
deleted
inserted
replaced
460 */ |
460 */ |
461 |
461 |
462 function update_plugins_cache($plugin_info) |
462 function update_plugins_cache($plugin_info) |
463 { |
463 { |
464 global $cache; |
464 global $cache; |
465 return $cache->store('plugins', $plugin_info, -1); |
465 try |
|
466 { |
|
467 $result = $cache->store('plugins', $plugin_info, -1); |
|
468 } |
|
469 catch ( Exception $e ) |
|
470 { |
|
471 return false; |
|
472 } |
|
473 return $result; |
466 } |
474 } |
467 |
475 |
468 /** |
476 /** |
469 * Loads the plugins cache if any. |
477 * Loads the plugins cache if any. |
470 */ |
478 */ |