Skip to content

Commit

Permalink
Remove unused parameters in plugin_pop_current calls
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Nov 3, 2015
1 parent 878db3d commit 1f53923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/plugin_api.php
Expand Up @@ -706,7 +706,7 @@ function plugin_install( MantisPlugin $p_plugin ) {
function plugin_needs_upgrade( MantisPlugin $p_plugin ) {
plugin_push_current( $p_plugin->name );
$t_plugin_schema = $p_plugin->schema();
plugin_pop_current( $p_plugin->name );
plugin_pop_current();
if( is_null( $t_plugin_schema ) ) {
return false;
}
Expand Down

0 comments on commit 1f53923

Please sign in to comment.