Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Add support to $_REQUEST data"

This reverts commit b505f6b.
  • Loading branch information...
commit 163c7fc071bfa9edc14a9eebc4f3e4bab64c77c0 1 parent 45e5ee5
@hedcler authored
Showing with 0 additions and 27 deletions.
  1. +0 −27 system/core/Input.php
View
27 system/core/Input.php
@@ -176,33 +176,6 @@ public function get($index = NULL, $xss_clean = FALSE)
// --------------------------------------------------------------------
/**
- * Fetch an item from the PUT array
- *
- * @param string
- * @param bool
- * @return string
- */
- public function request($index = NULL, $xss_clean = FALSE)
- {
-
- // Check if a field has been provided
- if ($index === NULL && ! empty($_REQUEST))
- {
- $request = array();
-
- // Loop through the full _POST array and return it
- foreach (array_keys($_REQUEST) as $key)
- {
- $request[$key] = $this->_fetch_from_array($_REQUEST, $key, $xss_clean);
- }
- return $request;
- }
-
- return $this->_fetch_from_array($_REQUEST, $index, $xss_clean);
- }
-
-
- // --------------------------------------------------------------------
/**
* Fetch an item from the PUT array
Please sign in to comment.
Something went wrong with that request. Please try again.