[feature/oauth] Change name of new method on request

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-13 12:11:38 -04:00
parent a6ff239778
commit 2e899c24f9
3 changed files with 3 additions and 3 deletions

View file

@ -145,5 +145,5 @@ interface phpbb_request_interface
* *
* @return array The original array of the requested super global. * @return array The original array of the requested super global.
*/ */
public function original_global_values($super_global = phpbb_request_interface::REQUEST); public function get_super_global($super_global = phpbb_request_interface::REQUEST);
} }

View file

@ -416,7 +416,7 @@ class phpbb_request implements phpbb_request_interface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function original_global_values($super_global = phpbb_request_interface::REQUEST) public function get_super_global($super_global = phpbb_request_interface::REQUEST)
{ {
return $this->input[$super_global]; return $this->input[$super_global];
} }

View file

@ -74,7 +74,7 @@ class phpbb_mock_request implements phpbb_request_interface
return array_keys($this->data[$super_global]); return array_keys($this->data[$super_global]);
} }
public function original_global_values($super_global = phpbb_request_interface::REQUEST) public function get_super_global($super_global = phpbb_request_interface::REQUEST)
{ {
return $this->data[$super_global]; return $this->data[$super_global];
} }