MDL-49811 mod_choice: Removing skipresultgraph link
authorDavid Monllao <davidm@moodle.com>
Tue, 6 Oct 2015 02:25:30 +0000 (10:25 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 6 Oct 2015 15:26:54 +0000 (16:26 +0100)
The target of the link is not available after MDL-30816.

mod/choice/lang/en/deprecated.txt [new file with mode: 0644]
mod/choice/renderer.php

diff --git a/mod/choice/lang/en/deprecated.txt b/mod/choice/lang/en/deprecated.txt
new file mode 100644 (file)
index 0000000..4177da3
--- /dev/null
@@ -0,0 +1 @@
+skipresultgraph,mod_choice
index 87404d1..12aedca 100644 (file)
@@ -378,8 +378,6 @@ class mod_choice_renderer extends plugin_renderer_base {
 
         $header = html_writer::tag('h3',format_string(get_string("responses", "choice")));
         $html .= html_writer::tag('div', $header, array('class'=>'responseheader'));
-        $html .= html_writer::link('#', get_string('skipresultgraph', 'choice'),
-                array('data-target' => '#skipresultgraph', 'class'=>'skip skip-block'));
         $html .= html_writer::tag('div', html_writer::table($table), array('class'=>'response'));
 
         return $html;