diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-01 07:47:49 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-01 07:47:49 +0000 |
commit | 84553b0fd0d507d3e8a963deb5cba12d0d5f0b84 (patch) | |
tree | e359ea8bd9cc79d3249996d510657d9e752693f6 /engine/lib/usersettings.php | |
parent | e51f9e8699a0443a0942f0a84c30ba3a4df372c1 (diff) | |
download | elgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.gz elgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.bz2 |
Moved deprecated files from sessions.php - xml.php into deprecation files for 1.7 and 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7981 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/usersettings.php')
-rw-r--r-- | engine/lib/usersettings.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/engine/lib/usersettings.php b/engine/lib/usersettings.php index f6bbaea06..a7181626d 100644 --- a/engine/lib/usersettings.php +++ b/engine/lib/usersettings.php @@ -8,35 +8,6 @@ */ /** - * Register a user settings page with the admin panel. - * This function extends the view "usersettings/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 usersettings/main - * - To add a control to a new page create a page which renders a view - * usersettings/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_settings_view The view associated with the control you're adding - * @param string $view The view to extend, by default this is 'usersettings/main'. - * @param int $priority Optional priority to govern the appearance in the list. - * - * @return bool - * @deprecated 1.8 Extend oone of the views in core/settings - */ -function extend_elgg_settings_page($new_settings_view, $view = 'usersettings/main', -$priority = 500) { - // see views: /core/settings - elgg_deprecated_notice("extend_elgg_settings_page has been deprecated. Extend on of the settings views instead", 1.8); - - return elgg_extend_view($view, $new_settings_view, $priority); -} - -/** * Set up the page for user settings * * @return void |