From 6f7d1382eb83f218457487f043ffe748ea9a5ef1 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 26 Apr 2006 16:09:43 +0000 Subject: [PATCH] Just tidying up, and removed the logs link (it's in reports) --- blocks/admin/block_admin.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 2112a8e743..6523461088 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -70,7 +70,7 @@ class block_admin extends block_list { } if ($CFG->enrol == 'authorize') { - require_once $CFG->dirroot.'/enrol/authorize/const.php'; + require_once($CFG->dirroot.'/enrol/authorize/const.php'); $paymenturl = ''.get_string('payments').' '; if ($cnt = count_records('enrol_authorize', 'status', AN_STATUS_AUTH)) { $paymenturl .= ''.get_string('paymentpending', 'moodle', $cnt).''; @@ -171,16 +171,13 @@ class block_admin extends block_list { $this->content->items[]=''.get_string('grades').''; $this->content->icons[]=''; - $this->content->items[]=''.get_string('logs').''; - $this->content->icons[]=''; - if ($isteacheredit) { $this->content->items[]=''.get_string('files').''; $this->content->icons[]=''; } if ($course->enrol == 'authorize' || (empty($course->enrol) && $CFG->enrol == 'authorize')) { - require_once $CFG->dirroot.'/enrol/authorize/const.php'; + require_once($CFG->dirroot.'/enrol/authorize/const.php'); $paymenturl = ''.get_string('payments').' '; if ($cnt = count_records('enrol_authorize', 'status', AN_STATUS_AUTH, 'courseid', $course->id)) { $paymenturl .= ''.get_string('paymentpending', 'moodle', $cnt).''; -- 2.39.5