# HG changeset patch # User Dan # Date 1215413294 14400 # Node ID 9c1f07ae26d53f4364c8ff11a47465265e65b844 # Parent 46abecc238e75e137d3d982e5bcc400a144d901f Fixed $use_cache bug in plugins.php diff -r 46abecc238e7 -r 9c1f07ae26d5 includes/plugins.php --- a/includes/plugins.php Mon Jul 07 02:47:20 2008 -0400 +++ b/includes/plugins.php Mon Jul 07 02:48:14 2008 -0400 @@ -288,7 +288,7 @@ // it's a PHP file, attempt to read metadata $fullpath = ENANO_ROOT . "/plugins/$dh"; - $plugin_meta = $this->get_plugin_info($fullpath); + $plugin_meta = $this->get_plugin_info($fullpath, $use_cache); if ( is_array($plugin_meta) ) { @@ -337,7 +337,7 @@ * @return array */ - function get_plugin_info($fullpath) + function get_plugin_info($fullpath, $use_cache = true) { global $plugins_cache; $dh = basename($fullpath);