From 905c4567a2bfb7a0f0c3103cc3f024c053359771 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 23 Aug 2006 07:05:36 +0000 Subject: [PATCH] Removed forum_get_course_forum for forum type teacher. --- blocks/admin/block_admin.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 212e77e2a9..e5ac2246ec 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -207,11 +207,6 @@ class block_admin extends block_list { $this->content->items[]=''.get_string('help').''; $this->content->icons[]=''; - if ($teacherforum = forum_get_course_forum($this->instance->pageid, 'teacher')) { - $this->content->items[]=''.get_string('nameteacher', 'forum').''; - $this->content->icons[]=''; - } - } else if (!isguest()) { // Students menu if ($course->showgrades) { -- 2.39.5