From e9f261e51adcaa80429fe14b04ee277ab3124ce9 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 6 Aug 2009 14:17:37 +0000 Subject: removed all main plugins from core - they now live in the plugins svn git-svn-id: https://code.elgg.org/elgg/trunk@3422 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/index.php | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 mod/profile/index.php (limited to 'mod/profile/index.php') diff --git a/mod/profile/index.php b/mod/profile/index.php deleted file mode 100644 index 89ef89e5d..000000000 --- a/mod/profile/index.php +++ /dev/null @@ -1,41 +0,0 @@ - - * @copyright Curverider Ltd 2008-2009 - * @link http://elgg.com/ - */ - - // Get the Elgg engine - require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - - // Get the username - $username = get_input('username'); - - $body = ""; - - // Try and get the user from the username and set the page body accordingly - if ($user = get_user_by_username($username)) { - - if ($user->isBanned() && !isadminloggedin()) { - forward(); exit; - } - $body = elgg_view_entity($user,true); - $title = $user->name; - - $body = elgg_view_layout('widgets',$body); - - } else { - - $body = elgg_echo("profile:notfound"); - $title = elgg_echo("profile"); - - } - - page_draw($title, $body); - -?> \ No newline at end of file -- cgit v1.2.3