1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

[ticket/16955] Clean up cron and console classes

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-27 14:31:23 +01:00
parent a8b878349a
commit b855b8a5a5
6 changed files with 9 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ class wrapper
{
$params = [];
$params['cron_type'] = $this->get_name();
if ($this->is_parametrized())
if ($this->task instanceof parametrized)
{
$params = array_merge($params, $this->task->get_parameters());
}
@@ -113,7 +113,7 @@ class wrapper
$this->template->assign_var('CRON_TASK_URL', $this->get_url());
return $this->template->assign_display('cron_html_tag');
return (string) $this->template->assign_display('cron_html_tag');
}
/**