MDL-32895 tool_assignmentupgrade: fix trailing whitespace
authorDan Poltawski <dan@moodle.com>
Wed, 23 May 2012 03:13:37 +0000 (11:13 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 23 May 2012 03:20:23 +0000 (11:20 +0800)
admin/tool/assignmentupgrade/batchupgrade.php
admin/tool/assignmentupgrade/renderer.php

index a8d8ec3..31bca24 100644 (file)
@@ -35,8 +35,7 @@ require_sesskey();
 // admin_externalpage_setup calls require_login and checks moodle/site:config
 admin_externalpage_setup('assignmentupgrade', '', array(), tool_assignmentupgrade_url('batchupgrade'));
 
 // admin_externalpage_setup calls require_login and checks moodle/site:config
 admin_externalpage_setup('assignmentupgrade', '', array(), tool_assignmentupgrade_url('batchupgrade'));
 
-
-$PAGE->set_pagelayout('maintenance'); 
+$PAGE->set_pagelayout('maintenance');
 $PAGE->navbar->add(get_string('batchupgrade', 'tool_assignmentupgrade'));
 
 $renderer = $PAGE->get_renderer('tool_assignmentupgrade');
 $PAGE->navbar->add(get_string('batchupgrade', 'tool_assignmentupgrade'));
 
 $renderer = $PAGE->get_renderer('tool_assignmentupgrade');
index 7c64f7f..ddb8cfa 100644 (file)
@@ -161,7 +161,6 @@ class tool_assignmentupgrade_renderer extends plugin_renderer_base {
             $output .= $this->container(get_string('conversionfailed', 'tool_assignmentupgrade', $log));
         } else {
             $output .= $this->container(get_string('upgradeassignmentsuccess', 'tool_assignmentupgrade'));
             $output .= $this->container(get_string('conversionfailed', 'tool_assignmentupgrade', $log));
         } else {
             $output .= $this->container(get_string('upgradeassignmentsuccess', 'tool_assignmentupgrade'));
-            
             $output .= $this->container(html_writer::link(new moodle_url('/course/view.php', array('id'=>$assignmentsummary->courseid)) ,get_string('viewcourse', 'tool_assignmentupgrade')));
         }
         $output .= $this->container_end();
             $output .= $this->container(html_writer::link(new moodle_url('/course/view.php', array('id'=>$assignmentsummary->courseid)) ,get_string('viewcourse', 'tool_assignmentupgrade')));
         }
         $output .= $this->container_end();