equal
deleted
inserted
replaced
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 |