mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
[feature/oauth] Change name of new method on request
PHPBB3-11673
This commit is contained in:
parent
a6ff239778
commit
2e899c24f9
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue