Doesn't display discussions AND forums in the Activities

This commit is contained in:
martin 2002-07-20 18:50:23 +00:00
parent 37b155148d
commit c31ebf26c7
3 changed files with 4 additions and 6 deletions

View file

@ -67,9 +67,6 @@
$modicon = array();
if ($modtype) {
foreach ($modtype as $modname => $modfullname) {
if ($modname == "discuss") {
continue; // Covered by forum
}
$moddata[] = "<A HREF=\"../mod/$modname/index.php?id=$course->id\">".$modfullname."s</A>";
$modicon[] = "<IMG SRC=\"../mod/$modname/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"$modfullname\">";
}