From efe91196f3480112c28de4b9a182eb8a3e749ba8 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 25 Aug 2004 03:19:50 +0000 Subject: [PATCH] Hiding attachment listing altogether --- mod/wiki/ewiki/plugins/aview/downloads.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/wiki/ewiki/plugins/aview/downloads.php b/mod/wiki/ewiki/plugins/aview/downloads.php index d0455c49ead..3c5168f0ba2 100644 --- a/mod/wiki/ewiki/plugins/aview/downloads.php +++ b/mod/wiki/ewiki/plugins/aview/downloads.php @@ -21,6 +21,7 @@ function ewiki_view_append_attachments($id, $data, $action) { $o = '

' . ewiki_t("ATTACHMENTS") . '

'; + return($o); // We don't want to show all the attachment listing in Moodle, just a link $scan = 's:7:"section";' . serialize($id); $result = ewiki_database("SEARCH", array("meta" => $scan)); @@ -52,4 +53,4 @@ function ewiki_attachments() { -?> \ No newline at end of file +?>