Skip to content

Commit

Permalink
Do not load plugins that have their own git repositories, when execut…
Browse files Browse the repository at this point in the history
…ing tests
  • Loading branch information
mattab committed Mar 26, 2014
1 parent 85681ea commit 0bd88be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Plugin/Manager.php
Expand Up @@ -101,7 +101,7 @@ public function getPluginsToLoadDuringTests()
// Also load plugins which are Git repositories (eg. being developed)
$isPluginHasGitRepository = file_exists( PIWIK_INCLUDE_PATH . '/plugins/' . $plugin . '/.git/config');

$loadPlugin = $isPluginBundledWithCore || $isPluginOfficiallySupported || $isPluginHasGitRepository;
$loadPlugin = ($isPluginBundledWithCore || $isPluginOfficiallySupported) && !$isPluginHasGitRepository;

// Do not enable other Themes
$disabledThemes = $this->coreThemesDisabledByDefault;
Expand Down

0 comments on commit 0bd88be

Please sign in to comment.