aboutsummaryrefslogtreecommitdiff
path: root/account
diff options
context:
space:
mode:
Diffstat (limited to 'account')
-rw-r--r--account/forgotten_password.php17
-rw-r--r--account/register.php26
2 files changed, 0 insertions, 43 deletions
diff --git a/account/forgotten_password.php b/account/forgotten_password.php
deleted file mode 100644
index 3895d506f..000000000
--- a/account/forgotten_password.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * Forgotten password function.
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
-if (!isloggedin()) {
- page_draw( elgg_echo('user:password:lost'), elgg_view("account/forms/forgotten_password") );
-} else {
- forward();
-} \ No newline at end of file
diff --git a/account/register.php b/account/register.php
deleted file mode 100644
index 53d7a2bbe..000000000
--- a/account/register.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-/**
- * Elgg registration page
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-/**
- * Start the Elgg engine
- */
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
-$friend_guid = (int) get_input('friend_guid',0);
-$invitecode = get_input('invitecode');
-
-// If we're not logged in, display the registration page
-if (!isloggedin()) {
- page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode)));
-// Otherwise, forward to the index page
-} else {
- forward();
-}