Commit cdfba205 authored by Aaron Wells's avatar Aaron Wells Committed by Gerrit Code Review
Browse files

Remove "text" and "image" from blocktype categories

Bug 1389450
... since they're also present at the top of the block picker.

Change-Id: I758be5c4fd8da81a23bbcf1feecbe89c23b91f9a
parent 8afae70e
......@@ -22,7 +22,7 @@ class PluginBlocktypeImage extends PluginBlocktype {
}
public static function get_categories() {
return array('fileimagevideo');
return array();
}
public static function render_instance(BlockInstance $instance, $editing=false) {
......
......@@ -12,5 +12,5 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2010090800;
$config->release = '1.0.0';
$config->version = 2010090801;
$config->release = '1.0.1';
......@@ -22,7 +22,7 @@ class PluginBlocktypeText extends SystemBlocktype {
}
public static function get_categories() {
return array('general');
return array();
}
public static function render_instance(BlockInstance $instance, $editing=false) {
......
......@@ -12,5 +12,5 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2014082200;
$config->release = '1.0.0';
$config->version = 2014082201;
$config->release = '1.0.1';
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