We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To avoid updating installPlugins() when installPlugin() is updated (and other way around), installPlugins() should use installPlugin():
public function installPlugins() { foreach($this→getLoadedPlugins() as $plugin) { try { $this→installPlugin(); } catch(Exception $e) { throw new Piwik_Plugin_Exception($plugin→getName(), $e→getMessage()); } } } Keywords: plugins
The text was updated successfully, but these errors were encountered:
> ``` > $this→installPlugin(); > ``` > > correct is $this→installPlugin($plugin);
Sorry, something went wrong.
good point! fixed in 628
No branches or pull requests
To avoid updating installPlugins() when installPlugin() is updated (and other way around), installPlugins() should use installPlugin():
public function installPlugins() {
foreach($this→getLoadedPlugins() as $plugin) {
try {
$this→installPlugin();
} catch(Exception $e) {
throw new Piwik_Plugin_Exception($plugin→getName(), $e→getMessage());
}
}
}
Keywords: plugins
The text was updated successfully, but these errors were encountered: