MDL-27829 blocks - clean dupe comments

This commit is contained in:
Eloy Lafuente (stronk7) 2011-07-01 19:41:28 +02:00
parent ddaa914789
commit 3e16a2ca66

View File

@ -138,9 +138,6 @@ class block_edit_form extends moodleform {
if (get_string_manager()->string_exists($pagetypestringname, 'pagetype')) {
$pagetypelist[$this->block->instance->pagetypepattern] = get_string($pagetypestringname, 'pagetype');
} else {
//as a last resort we could put the page type pattern in the select box
//however this causes mod-data-view to be added if the only option available is mod-data-*
//as a last resort we could put the page type pattern in the select box
//however this causes mod-data-view to be added if the only option available is mod-data-*
// so we are just showing a warning to users about their prev setting being reset