From 02d6873ff0357bfc16e98bca841abce0a3a6e8ed Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 6 Sep 2016 15:19:04 +0800 Subject: [PATCH] MDL-55122 enrol: remove duplicated updown variable --- enrol/instances.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/enrol/instances.php b/enrol/instances.php index 52b5142e5b1..546da9d3d4d 100644 --- a/enrol/instances.php +++ b/enrol/instances.php @@ -225,8 +225,6 @@ foreach ($instances as $instance) { $edit = array(); if ($canconfig) { - // up/down link - $updown = ''; if ($updowncount > 1) { $aurl = new moodle_url($url, array('action'=>'up', 'instance'=>$instance->id)); $updown[] = $OUTPUT->action_icon($aurl, new pix_icon('t/up', $strup, 'core', array('class' => 'iconsmall')));