includes/plugins.php
changeset 832 7152ca0a0ce9
parent 825 9d5c04c1414f
child 846 0d2d0dfbe443
--- a/includes/plugins.php	Mon Feb 16 16:04:54 2009 -0500
+++ b/includes/plugins.php	Mon Feb 16 16:17:25 2009 -0500
@@ -87,6 +87,7 @@
         $this->load_list[] = $row['plugin_filename'];
       }
     }
+    $this->load_list = array_unique($this->load_list);
     
     $this->loaded_plugins = $this->get_plugin_list($this->load_list);
     
@@ -648,9 +649,9 @@
       'success' => true
     );
     
-    endswitch;
+    $this->reimport_plugin_strings($filename, $plugin_list);
     
-    $this->reimport_plugin_strings($filename, $plugin_list);
+    endswitch;
     
     $cache->purge('plugins');
     $cache->purge('page_meta');