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

Load marketplace client in updater only when marketplace is enabled #10827

Merged
merged 1 commit into from Nov 3, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 2, 2016

When the Marketplace plugin is disabled, StaticContainer::getContainer()->make('Piwik\Plugins\Marketplace\Environment') may return null I believe. Therefore we should only load it when the Marketplace is actually enabled.

Thix fix is already included in the Marketplace PR for 3.x

@tsteur tsteur added the Needs Review PRs that need a code review label Nov 2, 2016
@tsteur tsteur added this to the 2.17.1 milestone Nov 2, 2016
@mattab mattab merged commit b13efa6 into 2.x-dev Nov 3, 2016
@mattab mattab deleted the marketplaceupdater branch November 3, 2016 02:39
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants