aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:01:03 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:01:03 +0000
commit754fc3c3ea92084559d98a7e73b98dacce7fe9a1 (patch)
tree6d5b01828242a1276071ff789b1d777d28776bc7 /engine/lib/admin.php
parentbeaaf5c3bdc700a872df2b7a39e268ce36cc0012 (diff)
downloadelgg-754fc3c3ea92084559d98a7e73b98dacce7fe9a1.tar.gz
elgg-754fc3c3ea92084559d98a7e73b98dacce7fe9a1.tar.bz2
Moving deprecated functions out of files access.php - entities.php. This time into two files based on version deprecated and maintaining documentation
git-svn-id: http://code.elgg.org/elgg/trunk@7979 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index c8254a0ff..c3dfb7b84 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -8,30 +8,6 @@
*/
/**
- * Register an admin page with the admin panel.
- * This function extends the view "admin/main" with the provided view.
- * This view should provide a description and either a control or a link to.
- *
- * Usage:
- * - To add a control to the main admin panel then extend admin/main
- * - To add a control to a new page create a page which renders a view admin/subpage
- * (where subpage is your new page -
- * nb. some pages already exist that you can extend), extend the main view to point to it,
- * and add controls to your new view.
- *
- * At the moment this is essentially a wrapper around elgg_extend_view().
- *
- * @param string $new_admin_view The view associated with the control you're adding
- * @param string $view The view to extend, by default this is 'admin/main'.
- * @param int $priority Optional priority to govern the appearance in the list.
- *
- * @return void
- */
-function extend_elgg_admin_page($new_admin_view, $view = 'admin/main', $priority = 500) {
- elgg_deprecated_notice('extend_elgg_admin_page() does nothing. Extend admin views manually.', 1.8);
-}
-
-/**
* Create the plugin settings submenu.
*
* This is done in a separate function called from the admin