mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11700] Modify all code to use the new interface names
PHPBB3-11700
This commit is contained in:
@@ -132,15 +132,15 @@ class phpbb_cron_task_core_prune_forum extends phpbb_cron_task_base implements p
|
||||
|
||||
/**
|
||||
* Parses parameters found in $request, which is an instance of
|
||||
* phpbb_request_interface.
|
||||
* phpbb_request_request_interface.
|
||||
*
|
||||
* It is expected to have a key f whose value is id of the forum to be pruned.
|
||||
*
|
||||
* @param phpbb_request_interface $request Request object.
|
||||
* @param phpbb_request_request_interface $request Request object.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function parse_parameters(phpbb_request_interface $request)
|
||||
public function parse_parameters(phpbb_request_request_interface $request)
|
||||
{
|
||||
$this->forum_data = null;
|
||||
if ($request->is_set('f'))
|
||||
|
@@ -29,9 +29,9 @@ class phpbb_cron_task_core_tidy_cache extends phpbb_cron_task_base
|
||||
* Constructor.
|
||||
*
|
||||
* @param phpbb_config $config The config
|
||||
* @param phpbb_cache_driver_interface $cache The cache driver
|
||||
* @param phpbb_cache_driver_driver_interface $cache The cache driver
|
||||
*/
|
||||
public function __construct(phpbb_config $config, phpbb_cache_driver_interface $cache)
|
||||
public function __construct(phpbb_config $config, phpbb_cache_driver_driver_interface $cache)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->cache = $cache;
|
||||
|
@@ -39,14 +39,14 @@ interface phpbb_cron_task_parametrized extends phpbb_cron_task
|
||||
|
||||
/**
|
||||
* Parses parameters found in $request, which is an instance of
|
||||
* phpbb_request_interface.
|
||||
* phpbb_request_request_interface.
|
||||
*
|
||||
* $request contains user input and must not be trusted.
|
||||
* Cron task must validate all data before using it.
|
||||
*
|
||||
* @param phpbb_request_interface $request Request object.
|
||||
* @param phpbb_request_request_interface $request Request object.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function parse_parameters(phpbb_request_interface $request);
|
||||
public function parse_parameters(phpbb_request_request_interface $request);
|
||||
}
|
||||
|
Reference in New Issue
Block a user