From: toyomoyo Date: Mon, 23 Oct 2006 02:25:32 +0000 (+0000) Subject: merged, student_can_post should be done properly using capabilities X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7f75d5fd2f2b0fd0bb15e8b2305d027a2dfa403a;p=moodle.git merged, student_can_post should be done properly using capabilities --- diff --git a/mod/glossary/config.html b/mod/glossary/config.html index 52b4604b02..0f371a31ec 100644 --- a/mod/glossary/config.html +++ b/mod/glossary/config.html @@ -18,27 +18,6 @@ - - glossary_studentspost: - - - - - - - glossary_dupentries: diff --git a/mod/glossary/mod.html b/mod/glossary/mod.html index e01616dc08..03328529df 100644 --- a/mod/glossary/mod.html +++ b/mod/glossary/mod.html @@ -2,9 +2,6 @@ include_once($CFG->dirroot.'/mod/glossary/lib.php'); -if (!isset($form->studentcanpost)) { - $form->studentcanpost = $CFG->glossary_studentspost; -} if (!isset($form->allowduplicatedentries)) { $form->allowduplicatedentries = $CFG->glossary_dupentries; } @@ -148,25 +145,6 @@ if (!$mainglossary or $mainglossary->id == $form->instance ) { echo ""; } ?> - - :
- - - - - :