includes/plugins.php
changeset 846 0d2d0dfbe443
parent 832 7152ca0a0ce9
child 869 58bc29c14a4d
--- a/includes/plugins.php	Thu Feb 26 01:27:56 2009 -0500
+++ b/includes/plugins.php	Thu Feb 26 01:28:18 2009 -0500
@@ -645,12 +645,13 @@
     if ( !$q )
       $db->die_json();
     
+    $plugin_list[$filename]['installed'] = true;
+    $this->reimport_plugin_strings($filename, $plugin_list);
+    
     $return = array(
       'success' => true
     );
     
-    $this->reimport_plugin_strings($filename, $plugin_list);
-    
     endswitch;
     
     $cache->purge('plugins');