Commit be5df33f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove unused gallery artefactchooser method


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent aad4f540
......@@ -189,30 +189,9 @@ class PluginBlocktypeGallery extends PluginBlocktype {
}
public static function artefactchooser_element($default=null) {
return array(
'name' => 'artefactids',
'type' => 'artefactchooser',
'title' => get_string('image'),
'defaultvalue' => $default,
'blocktype' => 'image',
'limit' => 10,
'artefacttypes' => array('image', 'profileicon'),
'template' => 'artefact:file:artefactchooser-element.tpl',
);
}
/**
* Optional method. If specified, allows the blocktype class to munge the
* artefactchooser element data before it's templated
*/
public static function artefactchooser_get_element_data($artefact) {
return ArtefactTypeFileBase::artefactchooser_get_file_data($artefact);
}
public static function default_copy_type() {
return 'full';
}
}
?>
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