From: moodler Date: Wed, 26 Apr 2006 16:09:43 +0000 (+0000) Subject: Just tidying up, and removed the logs link (it's in reports) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6f7d1382eb83f218457487f043ffe748ea9a5ef1;p=moodle.git Just tidying up, and removed the logs link (it's in reports) --- 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).'';