Commit 29bf2d42 authored by Michael Felczak's avatar Michael Felczak
Browse files

Merge fix getEnabled method to prevent warning in logs

parents 5c48342a d0e5e13d
......@@ -22,7 +22,7 @@ class HostedByBlockPlugin extends BlockPlugin {
* Determine whether the plugin is enabled. Overrides parent so that
* the plugin will be displayed during install.
*/
function getEnabled() {
function getEnabled($contextId = null) {
if (!Config::getVar('general', 'installed')) return true;
return parent::getEnabled();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment