From 00f085d2da3f7fc260597e9bd7493a9cb99115fc Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 21:56:55 +0000 Subject: 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 --- engine/lib/elgglib.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'engine/lib/elgglib.php') 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 @@ -396,30 +396,6 @@ function sanitise_filepath($path, $append_slash = TRUE) { return $path; } -/** - * 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. * -- cgit v1.2.3