MDL-37946 mod_choice: swap horizontal and vertical graphs

This commit is contained in:
Marina Glancy 2016-05-25 21:31:18 +08:00
parent 2c952b2f38
commit 15a237cea6

View File

@ -285,7 +285,7 @@ class mod_choice_renderer extends plugin_renderer_base {
* @param object $choices
* @return string
*/
public function display_publish_anonymous_vertical($choices) {
public function display_publish_anonymous_horizontal($choices) {
global $CHOICE_COLUMN_HEIGHT;
$html = '';
@ -388,7 +388,7 @@ class mod_choice_renderer extends plugin_renderer_base {
* @param object $choices
* @return string
*/
public function display_publish_anonymous_horizontal($choices) {
public function display_publish_anonymous_vertical($choices) {
global $CHOICE_COLUMN_WIDTH;
$table = new html_table();