Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premium Plugin Installer shows false error message after install #11516

Merged
merged 2 commits into from Mar 25, 2017
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Mar 22, 2017

fix #11512

@tsteur tsteur added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Mar 22, 2017
@tsteur tsteur added this to the 3.0.3 milestone Mar 22, 2017
continue;
}

if (!$this->pluginManager->isPluginInFilesystem($pluginName)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevent trying to install a plugin that is not available in the filesystem. We tried to install or activate all of them.

@@ -502,7 +502,7 @@ public function activatePlugin($pluginName)
Piwik::postEvent('PluginManager.pluginActivated', array($pluginName));
}

protected function isPluginInFilesystem($pluginName)
public function isPluginInFilesystem($pluginName)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually needed this method in another plugin public as well so that's good :)

@mattab mattab merged commit 45f3ec3 into 3.x-dev Mar 25, 2017
@mattab mattab deleted the 11512 branch March 25, 2017 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Premium Plugin Installer shows false error message after install
2 participants