aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-24 01:14:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-24 01:14:30 +0000
commit7b44da8e24271eeb4b57905e9c89789d2b315402 (patch)
tree69f76416464201adae5cbe7da11bb97d02e37a9a
parent9d2a1831b574d517592c0345fdf5aa173fcd42d7 (diff)
downloadelgg-7b44da8e24271eeb4b57905e9c89789d2b315402.tar.gz
elgg-7b44da8e24271eeb4b57905e9c89789d2b315402.tar.bz2
tag cloud functions are deprecated in 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@5491 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/tags.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php
index ffc2bebc5..84ea1b978 100644
--- a/engine/lib/tags.php
+++ b/engine/lib/tags.php
@@ -241,7 +241,7 @@ function elgg_get_tags(array $options = array()) {
/**
* Get an array of tags with weights for use with the output/tagcloud view.
*
- * @deprecated 1.7.1 Use elgg_get_tags().
+ * @deprecated 1.8 Use elgg_get_tags().
*
* @param int $threshold Get the threshold of minimum number of each tags to bother with (ie only show tags where there are more than $threshold occurances)
* @param int $limit Number of tags to return
@@ -257,7 +257,7 @@ function elgg_get_tags(array $options = array()) {
function get_tags($threshold = 1, $limit = 10, $metadata_name = "", $entity_type = "object", $entity_subtype = "", $owner_guid = "", $site_guid = -1, $start_ts = "", $end_ts = "") {
- elgg_deprecated_notice('get_tags() has been replaced by elgg_get_tags()', 1.7);
+ elgg_deprecated_notice('get_tags() has been replaced by elgg_get_tags()', 1.8);
if (is_array($metadata_name)) {
return false;
@@ -339,7 +339,7 @@ function elgg_view_tagcloud(array $options = array()) {
/**
* Loads and displays a tagcloud given particular criteria.
*
- * @deprecated 1.7.1 use elgg_view_tagcloud()
+ * @deprecated 1.8 use elgg_view_tagcloud()
*
* @param int $threshold Get the threshold of minimum number of each tags to bother with (ie only show tags where there are more than $threshold occurances)
* @param int $limit Number of tags to return
@@ -355,7 +355,7 @@ function elgg_view_tagcloud(array $options = array()) {
function display_tagcloud($threshold = 1, $limit = 10, $metadata_name = "", $entity_type = "object", $entity_subtype = "", $owner_guid = "", $site_guid = -1, $start_ts = "", $end_ts = "") {
- elgg_deprecated_notice('display_cloud() was deprecated by elgg_view_tagcloud()!', 1.7);
+ elgg_deprecated_notice('display_cloud() was deprecated by elgg_view_tagcloud()!', 1.8);
return elgg_view("output/tagcloud",array('value' => get_tags($threshold, $limit, $metadata_name, $entity_type, $entity_subtype, $owner_guid, $site_guid, $start_ts, $end_ts),
'type' => $entity_type,