includes/plugins.php
changeset 769 1946d845bb25
parent 724 af6a618e5c94
child 791 e6094f56f941
--- a/includes/plugins.php	Sun Dec 21 04:23:47 2008 -0500
+++ b/includes/plugins.php	Sun Dec 21 04:24:52 2008 -0500
@@ -462,7 +462,15 @@
   function update_plugins_cache($plugin_info)
   {
     global $cache;
-    return $cache->store('plugins', $plugin_info, -1);
+    try
+    {
+      $result = $cache->store('plugins', $plugin_info, -1);
+    }
+    catch ( Exception $e )
+    {
+      return false;
+    }
+    return $result;
   }
   
   /**