aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 13:21:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-21 13:21:44 +0000
commit9eae841ec5c036fa74565a3a06e6f53f2dc80af4 (patch)
tree4a8747bd1466b1b072f208e6254e35899d3ef4ae /mod/file
parent75187715f6d7a04bbda4858d6a17138001da4807 (diff)
downloadelgg-9eae841ec5c036fa74565a3a06e6f53f2dc80af4.tar.gz
elgg-9eae841ec5c036fa74565a3a06e6f53f2dc80af4.tar.bz2
removed deprecated tag library calls
git-svn-id: http://code.elgg.org/elgg/trunk@7397 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 78790d034..10fbff27e 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -213,7 +213,15 @@
}
elgg_register_tag_metadata_name('simpletype');
- $types = get_tags(0,10,'simpletype','object','file',$owner_guid);
+ $options = array(
+ 'type' => 'object',
+ 'subtype' => 'file',
+ 'owner_guid' => $owner_guid,
+ 'threshold' => 0,
+ 'limit' => 10,
+ 'tag_names' => array('simpletype')
+ );
+ $types = elgg_get_tags($options);
return elgg_view('file/typecloud',array('owner_guid' => $owner_guid, 'friend_guid' => $friendofguid, 'types' => $types));
}