aboutsummaryrefslogtreecommitdiff
path: root/views/json/api
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/api')
-rw-r--r--views/json/api/output.php34
1 files changed, 16 insertions, 18 deletions
diff --git a/views/json/api/output.php b/views/json/api/output.php
index 94aaaae60..49aeb8438 100644
--- a/views/json/api/output.php
+++ b/views/json/api/output.php
@@ -1,20 +1,18 @@
<?php
- /**
- * Elgg JSON output
- * This outputs the api as JSON
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- */
+/**
+ * Elgg JSON output
+ * This outputs the api as JSON
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
- $result = $vars['result'];
- $export = $result->export();
-
- // echo json_encode($export);
- global $jsonexport;
- $jsonexport['api'][] = $export;
-
-?> \ No newline at end of file
+$result = $vars['result'];
+$export = $result->export();
+
+// echo json_encode($export);
+global $jsonexport;
+$jsonexport['api'][] = $export; \ No newline at end of file