aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:56:55 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 21:56:55 +0000
commit00f085d2da3f7fc260597e9bd7493a9cb99115fc (patch)
tree233450cc8b9768a2e122b07bb6c083a5053d033a /engine/lib/elgglib.php
parent1196f73263f4050400604467200a71f2e1f0e3cb (diff)
downloadelgg-00f085d2da3f7fc260597e9bd7493a9cb99115fc.tar.gz
elgg-00f085d2da3f7fc260597e9bd7493a9cb99115fc.tar.bz2
Moved all deprecated core functions into the appropriate deprecation fine
git-svn-id: http://code.elgg.org/elgg/trunk@8262 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index a6de0bc67..6348d8c01 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -397,30 +397,6 @@ function sanitise_filepath($path, $append_slash = TRUE) {
}
/**
- * Constructs and returns a register object.
- *
- * @param string $register_name The name of the register
- * @param mixed $register_value The value of the register
- * @param array $children_array Optionally, an array of children
- *
- * @return false|stdClass Depending on success
- * @todo Can be deprecated when the new menu system is introduced.
- */
-function make_register_object($register_name, $register_value, $children_array = array()) {
- elgg_deprecated_notice('make_register_object() is deprecated by add_submenu_item()', 1.7);
- if (empty($register_name) || empty($register_value)) {
- return false;
- }
-
- $register = new stdClass;
- $register->name = $register_name;
- $register->value = $register_value;
- $register->children = $children_array;
-
- return $register;
-}
-
-/**
* Queues a message to be displayed.
*
* Messages will not be displayed immediately, but are stored in