aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/exporttest/index.php')
-rw-r--r--mod/exporttest/index.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php
deleted file mode 100644
index e057ab094..000000000
--- a/mod/exporttest/index.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
- require_once("../../engine/start.php");
-
- global $CONFIG;
-
- $guid = get_input("guid");
- $_SESSION['id'] = 2;
-
- // Get the user
- $owner_id = page_owner();
-
- if ($guid)
- {
- echo elgg_view("exporttest/outputxml", array("xml" => export($guid)));
- }
- else if ($action=='import')
- {
- $body = import(get_input('xml'));
- $body .= elgg_view("exporttest/main", array("owner_id" => $owner_id));
- page_draw("Import results",$body);
- }
- else
- {
- $body = elgg_view("exporttest/main", array("owner_id" => $owner_id));
- page_draw("Export a GUID",$body);
- }
-?> \ No newline at end of file