includes/plugins.php
changeset 791 e6094f56f941
parent 769 1946d845bb25
child 793 c0724bf6039b
--- a/includes/plugins.php	Mon Dec 22 13:31:07 2008 -0500
+++ b/includes/plugins.php	Mon Dec 22 18:51:05 2008 -0500
@@ -520,6 +520,7 @@
   {
     global $db, $session, $paths, $template, $plugins; // Common objects
     global $lang;
+    global $cache;
     
     if ( defined('ENANO_DEMO_MODE') )
     {
@@ -621,6 +622,8 @@
     
     endswitch;
     
+    $cache->purge('plugins');
+    
     return $return;
   }
   
@@ -738,6 +741,8 @@
     
     endswitch;
     
+    $cache->purge('plugins');
+    
     return $return;
   }
   
@@ -961,6 +966,8 @@
     
     endswitch;
     
+    $cache->purge('plugins');
+    
     return $return;
   }