From: vyshane Date: Wed, 23 Aug 2006 07:05:36 +0000 (+0000) Subject: Removed forum_get_course_forum for forum type teacher. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=905c4567a2bfb7a0f0c3103cc3f024c053359771;p=moodle.git Removed forum_get_course_forum for forum type teacher. --- 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) {