aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 23:09:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 23:09:30 +0000
commit760992d750e10977362a58a59ba91abc30acb3ca (patch)
treeedef1bbe01f22d79c2dde8d8e07ab95172885951
parent5d090b23cca3b0f831b29fe4dad2926f1b3b33fc (diff)
downloadelgg-760992d750e10977362a58a59ba91abc30acb3ca.tar.gz
elgg-760992d750e10977362a58a59ba91abc30acb3ca.tar.bz2
Refs #2344 - removed unused search and admin directories
git-svn-id: http://code.elgg.org/elgg/trunk@6987 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--admin/index.php16
-rw-r--r--engine/lib/admin.php1
-rw-r--r--search/index.php35
3 files changed, 0 insertions, 52 deletions
diff --git a/admin/index.php b/admin/index.php
deleted file mode 100644
index 1d41306b6..000000000
--- a/admin/index.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Elgg administration system index
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-// Get the Elgg framework
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
-// Make sure only valid admin users can see this
-admin_gatekeeper();
-forward('pg/admin/overview/'); \ No newline at end of file
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 2fb38c230..58208a8da 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -156,7 +156,6 @@ function admin_init() {
* Handle admin pages. Expects corresponding views as admin/section/subsection
*
* @param $page
- * @return unknown_type
*/
function admin_settings_page_handler($page) {
global $CONFIG;
diff --git a/search/index.php b/search/index.php
deleted file mode 100644
index bc13d4885..000000000
--- a/search/index.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * Redirect to the new search page
- *
- * Needed for legacy themes.
- */
-
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
-$params = array(
- 'search_type',
- 'q',
- 'tag',
- 'limit',
- 'offset',
- 'entity_type',
- 'entity_subtype',
- 'owner_guid',
- 'friends'
-);
-
-// determine all passed parameters
-$vars = array();
-foreach ($params as $var) {
- if ($value = get_input($var, FALSE)) {
- $vars[$var] = $value;
- }
-}
-
-// generate a new GET query URI
-$query = http_build_query($vars);
-$url = "{$CONFIG->wwwroot}pg/search/?$query";
-
-// send to proper search page
-forward($url);