includes/plugins.php
changeset 1014 930c1fdd3e9f
parent 992 34a7fe38d78b
child 1019 ea039091d154
equal deleted inserted replaced
1013:8626bb38410f 1014:930c1fdd3e9f
   827    */
   827    */
   828   
   828   
   829   function upgrade_plugin($filename, $plugin_list = null)
   829   function upgrade_plugin($filename, $plugin_list = null)
   830   {
   830   {
   831     global $db, $session, $paths, $template, $plugins; // Common objects
   831     global $db, $session, $paths, $template, $plugins; // Common objects
   832     global $lang;
   832     global $lang, $cache;
   833     
   833     
   834     if ( !$plugin_list )
   834     if ( !$plugin_list )
   835       $plugin_list = $this->get_plugin_list();
   835       $plugin_list = $this->get_plugin_list();
   836     
   836     
   837     // we're gonna need this
   837     // we're gonna need this