aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 4c24c2b50..8ae16cfb5 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -135,6 +135,9 @@ function profile_page_handler($page) {
switch ($action) {
case 'edit':
+ require $CONFIG->path . 'pages/profile/edit.php';
+ return;
+ /*
$layout = 'one_column_with_sidebar';
if (!$user || !$user->canEdit()) {
@@ -144,6 +147,8 @@ function profile_page_handler($page) {
$content = profile_get_user_edit_content($user, $page);
$content = elgg_view_layout($layout, array('content' => $content));
+ *
+ */
break;
default: