aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggUser.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-03 09:24:07 -0400
committercash <cash.costello@gmail.com>2011-07-03 09:24:07 -0400
commit79e1f34a9ab3bc501f2c68c6bec64d270830ad42 (patch)
tree8c132c11a089949a78c10ccb06890aa3bbb987be /engine/classes/ElggUser.php
parentd2c9e39308cfd64ca8a6487aac8e0d44a4e406c9 (diff)
downloadelgg-79e1f34a9ab3bc501f2c68c6bec64d270830ad42.tar.gz
elgg-79e1f34a9ab3bc501f2c68c6bec64d270830ad42.tar.bz2
Fixes #3650 deprecated ElggUser::getCollections()
Diffstat (limited to 'engine/classes/ElggUser.php')
-rw-r--r--engine/classes/ElggUser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php
index 1af4cdc3a..75ac008f6 100644
--- a/engine/classes/ElggUser.php
+++ b/engine/classes/ElggUser.php
@@ -484,7 +484,8 @@ class ElggUser extends ElggEntity
* @return array|false
*/
public function getCollections($subtype = "", $limit = 10, $offset = 0) {
- return get_user_collections($this->getGUID(), $subtype, $limit, $offset);
+ elgg_deprecated_notice("ElggUser::getCollections() has been deprecated", 1.8);
+ return false;
}
/**