aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/friends.php2
-rw-r--r--mod/file/index.php2
-rw-r--r--mod/file/world.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/file/friends.php b/mod/file/friends.php
index e7a17adab..44532dfba 100644
--- a/mod/file/friends.php
+++ b/mod/file/friends.php
@@ -31,7 +31,7 @@
//get the latest comments on all files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc");
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
$params = array(
diff --git a/mod/file/index.php b/mod/file/index.php
index 06a5979d1..ae2353724 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -37,7 +37,7 @@
//get the latest comments on the current users files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc",0,0,elgg_get_page_owner_guid());
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
diff --git a/mod/file/world.php b/mod/file/world.php
index bd6c2b859..6ac4ba38a 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -28,7 +28,7 @@
//get the latest comments on all files
$comments = get_annotations(0, "object", "file", "generic_comment", "", 0, 4, 0, "desc");
- $area3 = elgg_view('annotation/latest_comments', array('comments' => $comments));
+ $area3 = elgg_view('comments/latest', array('comments' => $comments));
$content = "<div class='files'>".$area1.$area2."</div>";
$params = array(