diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-06 00:40:55 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-06 00:40:55 +0000 |
commit | e55ac32a5c56a3d3065dcb80b93f080efd02b1c0 (patch) | |
tree | 08172aafcd01560aada253c01c34a1d174eece0a /engine/lib/deprecated-1.7.php | |
parent | e8f3064ff821c0dfaed0bd847c0230fc97e8337b (diff) | |
download | elgg-e55ac32a5c56a3d3065dcb80b93f080efd02b1c0.tar.gz elgg-e55ac32a5c56a3d3065dcb80b93f080efd02b1c0.tar.bz2 |
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
Diffstat (limited to 'engine/lib/deprecated-1.7.php')
-rw-r--r-- | engine/lib/deprecated-1.7.php | 34 |
1 files changed, 34 insertions, 0 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 |