aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-27 13:01:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-27 13:01:46 +0000
commitdbdf001b867cb686beb6113d329eaa42b02ed4ca (patch)
tree3fc02bde08e43808b54def3f7ec2efe5eee4fb9a /engine/lib/elgglib.php
parent330df93ca8d85c3a6064e231968f8ce61a693286 (diff)
downloadelgg-dbdf001b867cb686beb6113d329eaa42b02ed4ca.tar.gz
elgg-dbdf001b867cb686beb6113d329eaa42b02ed4ca.tar.bz2
removed menu code introduced for elgg.com that did not make it into 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7949 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index f925429de..e8d47eaca 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -476,11 +476,11 @@ function sanitise_filepath($path, $append_slash = TRUE) {
* @param array $children_array Optionally, an array of children
*
* @return true|false Depending on success
- * @todo Can be deprecated when the new menu system is introduced.
+ * @deprecated 1.8
*/
function add_to_register($register_name, $subregister_name, $subregister_value,
$children_array = array()) {
-
+ elgg_deprecated_notice("add_to_register() has been deprecated", 1.8);
global $CONFIG;
if (empty($register_name) || empty($subregister_name)) {
@@ -517,9 +517,10 @@ $children_array = array()) {
*
* @return true|false Depending on success
* @since 1.7.0
- * @todo Can be deprecated when the new menu system is introduced.
+ * @deprecated 1.8
*/
function remove_from_register($register_name, $subregister_name) {
+ elgg_deprecated_notice("remove_from_register() has been deprecated", 1.8);
global $CONFIG;
if (empty($register_name) || empty($subregister_name)) {
@@ -572,9 +573,10 @@ function make_register_object($register_name, $register_value, $children_array =
* @param string $register_name The name of the register
*
* @return array|false Depending on success
- * @todo Can be deprecated when the new menu system is introduced.
+ * @deprecated 1.8
*/
function get_register($register_name) {
+ elgg_deprecated_notice("get_register() has been deprecated", 1.8);
global $CONFIG;
if (isset($CONFIG->registers[$register_name])) {