aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-06 00:40:55 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-06 00:40:55 +0000
commite55ac32a5c56a3d3065dcb80b93f080efd02b1c0 (patch)
tree08172aafcd01560aada253c01c34a1d174eece0a
parente8f3064ff821c0dfaed0bd847c0230fc97e8337b (diff)
downloadelgg-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
-rw-r--r--engine/lib/deprecated-1.7.php34
-rw-r--r--engine/lib/objects.php17
-rw-r--r--engine/lib/users.php17
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