diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 23:18:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 23:18:43 +0000 |
commit | 0b5a24d7943c6f8bc275d1160f4060b337a3cf7a (patch) | |
tree | 105769cfd0c1d29c75fe368b989c5380536aa40a /mod/profile/start.php | |
parent | 09d08af9814a4edfb2050cdb47ad8ae20a944472 (diff) | |
download | elgg-0b5a24d7943c6f8bc275d1160f4060b337a3cf7a.tar.gz elgg-0b5a24d7943c6f8bc275d1160f4060b337a3cf7a.tar.bz2 |
continuing to slash and burn the profile plugin - moving the admin profile fields into core - last major change
git-svn-id: http://code.elgg.org/elgg/trunk@7673 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r-- | mod/profile/start.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index 8ae16cfb5..eb34bf748 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -47,9 +47,6 @@ function profile_init() { // allow ECML in parts of the profile elgg_register_plugin_hook_handler('get_views', 'ecml', 'profile_ecml_views_hook'); - - // default profile fields admin item - elgg_add_admin_submenu_item('defaultprofile', elgg_echo('profile:edit:default'), 'appearance'); } /** @@ -137,18 +134,6 @@ function profile_page_handler($page) { case 'edit': require $CONFIG->path . 'pages/profile/edit.php'; return; - /* - $layout = 'one_column_with_sidebar'; - - if (!$user || !$user->canEdit()) { - register_error(elgg_echo("profile:noaccess")); - forward(); - } - - $content = profile_get_user_edit_content($user, $page); - $content = elgg_view_layout($layout, array('content' => $content)); - * - */ break; default: |