Commit ffd9f1fc authored by Aaron Wells's avatar Aaron Wells

Make Annotation block disabled by default

Bug 1443730

Change-Id: Ic2ee67db4d4b9bc5756b5a46552b3dc8a6e02101
parent c9b9bff4
......@@ -333,4 +333,10 @@ class PluginBlocktypeAnnotation extends SystemBlocktype {
'mahara' => array('Close')
);
}
public static function postinst($fromversion) {
if ($fromversion == 0) {
set_field('blocktype_installed', 'active', 0, 'artefactplugin', 'annotation');
}
}
}
Markdown is supported
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