diff options
Diffstat (limited to 'mod/exporttest/index.php')
| -rw-r--r-- | mod/exporttest/index.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php deleted file mode 100644 index 3c1320e1f..000000000 --- a/mod/exporttest/index.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - /** - * Elgg export test - * - * @package ElggDevTools - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey <marcus@marcus-povey.co.uk> - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - */ - - require_once("../../engine/start.php"); - - global $CONFIG; - - $guid = get_input("guid"); - $action = get_input("action"); - - // Get the user - $owner_id = page_owner(); - - if ($guid) - { - echo elgg_view("exporttest/outputxml", array("xml" => export($guid))); - } - else if ($action=='import') - { - $body = print_r(import(get_input('xml')), true); - $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 |
