# HG changeset patch # User Dan # Date 1243642950 14400 # Node ID 930c1fdd3e9f42012c48ccbf2e90fed4035351ef # Parent 8626bb38410f3968d4e41cf3c453c4febe99ba1f Fixed missing global $cache; in $plugins->upgrade_plugin(); diff -r 8626bb38410f -r 930c1fdd3e9f includes/plugins.php --- a/includes/plugins.php Fri May 29 16:38:51 2009 -0400 +++ b/includes/plugins.php Fri May 29 20:22:30 2009 -0400 @@ -829,7 +829,7 @@ function upgrade_plugin($filename, $plugin_list = null) { global $db, $session, $paths, $template, $plugins; // Common objects - global $lang; + global $lang, $cache; if ( !$plugin_list ) $plugin_list = $this->get_plugin_list();