aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/api.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-14 20:50:34 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-14 20:50:34 +0000
commit0c2c36ff3b0329ff849930d0403f933653a84dcd (patch)
treecdd859d225d68dcfa9603997f4c183eac8864900 /engine/lib/api.php
parentb6aaba915151dd07800761a01b67ffffaee1302b (diff)
downloadelgg-0c2c36ff3b0329ff849930d0403f933653a84dcd.tar.gz
elgg-0c2c36ff3b0329ff849930d0403f933653a84dcd.tar.bz2
Merged 5928-6908 from 1.7 branch to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/api.php')
-rw-r--r--engine/lib/api.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php
index 6707a7418..0da0c82f0 100644
--- a/engine/lib/api.php
+++ b/engine/lib/api.php
@@ -1438,17 +1438,6 @@ function __php_api_exception_handler($exception) {
function service_handler($handler, $request) {
global $CONFIG;
- // setup the input parameters since this comes through rewrite rule
- $query = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], '?')+1);
- if (isset($query)) {
- $query_arr = elgg_parse_str($query);
- if (is_array($query_arr)) {
- foreach($query_arr as $name => $val) {
- set_input($name, $val);
- }
- }
- }
-
set_context('api');
$request = explode('/',$request);