Skip to content

Commit

Permalink
! Forgot to declare $flushed in DisablePlugin. Thanks CerealGuy! (Man…
Browse files Browse the repository at this point in the history
…agePlugins.php)
  • Loading branch information
Nao committed Dec 10, 2014
1 parent 16b5014 commit edb14af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/app/ManagePlugins.php
Expand Up @@ -1096,6 +1096,7 @@ function EnablePlugin()
function DisablePlugin($manifest = null, $plugin = null)
{
global $context, $settings;
static $flushed = false;

// We might be coming from the user's request or a separate process. If from elsewhere, we don't need to do all the checks.
if (empty($manifest) || empty($plugin))
Expand Down

0 comments on commit edb14af

Please sign in to comment.