From 79e1f34a9ab3bc501f2c68c6bec64d270830ad42 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 3 Jul 2011 09:24:07 -0400 Subject: Fixes #3650 deprecated ElggUser::getCollections() --- engine/classes/ElggUser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine') 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; } /** -- cgit v1.2.3