From e55ac32a5c56a3d3065dcb80b93f080efd02b1c0 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 6 Apr 2011 00:40:55 +0000 Subject: moved two more deprecated functions out of the main libs git-svn-id: http://code.elgg.org/elgg/trunk@8945 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/deprecated-1.7.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'engine/lib/deprecated-1.7.php') diff --git a/engine/lib/deprecated-1.7.php b/engine/lib/deprecated-1.7.php index 7d73fd010..519eea89d 100644 --- a/engine/lib/deprecated-1.7.php +++ b/engine/lib/deprecated-1.7.php @@ -1125,4 +1125,38 @@ function make_register_object($register_name, $register_value, $children_array = $register->children = $children_array; return $register; +} + +/** + * THIS FUNCTION IS DEPRECATED. + * + * Delete a object's extra data. + * + * @todo - this should be removed - was deprecated in 1.5 or earlier + * + * @param int $guid GUID + * + * @return 1 + */ +function delete_object_entity($guid) { + system_message(elgg_echo('deprecatedfunction', array('delete_user_entity'))); + + return 1; // Always return that we have deleted one row in order to not break existing code. +} + +/** + * THIS FUNCTION IS DEPRECATED. + * + * Delete a user's extra data. + * + * @todo remove + * + * @param int $guid User GUID + * + * @return 1 + */ +function delete_user_entity($guid) { + system_message(elgg_echo('deprecatedfunction', array('delete_user_entity'))); + + return 1; // Always return that we have deleted one row in order to not break existing code. } \ No newline at end of file -- cgit v1.2.3