Skip to content
Browse files

Restoring summary view to attachments view.

  • Loading branch information...
1 parent d00f113 commit e8df6a89461772c3097c026fc225ba2bd64b202b mchurch committed Aug 25, 2004
Showing with 0 additions and 2 deletions.
  1. +0 −1 mod/wiki/ewiki/plugins/aview/downloads.php
  2. +0 −1 mod/wiki/ewiki/plugins/moodle/downloads.php
View
1 mod/wiki/ewiki/plugins/aview/downloads.php
@@ -21,7 +21,6 @@ function ewiki_view_append_attachments($id, $data, $action) {
$o = '<hr><h4><a href="' . ewiki_script(EWIKI_ACTION_ATTACHMENTS, $id) .
'">' . ewiki_t("ATTACHMENTS") . '</a></h4>';
- 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));
View
1 mod/wiki/ewiki/plugins/moodle/downloads.php
@@ -343,7 +343,6 @@ function ewiki_entry_downloads($row, $show_section=0, $fullinfo=false) {
$info->title = $p_title;
$info->comment = $p_comment;
-
if ($fullinfo) {
$o .= '<a href="'.$info->url.'">'.$info->icon.$info->title.'</a>'.$info->size.'<br>'.
get_string("uploadedon","wiki").": ".$info->time.", ".

0 comments on commit e8df6a8

Please sign in to comment.
Something went wrong with that request. Please try again.