MDL-27829 blocks - clean dupe comments
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 1 Jul 2011 17:41:28 +0000 (19:41 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 1 Jul 2011 18:38:06 +0000 (20:38 +0200)
blocks/edit_form.php

index 01e2a40..80b361e 100644 (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