diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/deprecated-1.7.php | 34 | ||||
-rw-r--r-- | engine/lib/objects.php | 17 | ||||
-rw-r--r-- | engine/lib/users.php | 17 |
3 files changed, 34 insertions, 34 deletions
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 diff --git a/engine/lib/objects.php b/engine/lib/objects.php index 8819a1094..b138d6888 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -78,23 +78,6 @@ function create_object_entity($guid, $title, $description) { } /** - * 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. -} - -/** * Get the sites this object is part of * * @param int $object_guid The object's GUID diff --git a/engine/lib/users.php b/engine/lib/users.php index 243334e2a..dcec36ba5 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -284,23 +284,6 @@ function remove_user_admin($user_guid) { } /** - * 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. -} - -/** * Get the sites this user is part of * * @param int $user_guid The user's GUID |