aboutsummaryrefslogtreecommitdiff
path: root/views/json/pageshells/pageshell.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/pageshells/pageshell.php')
-rw-r--r--views/json/pageshells/pageshell.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/views/json/pageshells/pageshell.php b/views/json/pageshells/pageshell.php
deleted file mode 100644
index 16cfa3cdd..000000000
--- a/views/json/pageshells/pageshell.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * Elgg JSON output pageshell
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- */
-
-if(stristr($_SERVER["HTTP_ACCEPT"],"application/json")) {
- header("Content-Type: application/json");
-} else {
- header("Content-Type: application/javascript");
-}
-// echo $vars['body'];
-
-global $jsonexport;
-echo json_encode($jsonexport); \ No newline at end of file