1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/14925] Set reparser names in service definitions

PHPBB3-14925
This commit is contained in:
Matt Friedman
2016-12-18 01:28:51 -08:00
parent 544c7c4e08
commit b4748a5d1e
7 changed files with 87 additions and 14 deletions

View File

@@ -81,7 +81,7 @@ class reparser extends \phpbb\cron\task\base
*/
public function set_reparser($reparser)
{
$this->reparser_name = (!isset($this->reparsers[$reparser]) ? 'text_reparser.' : '') . $reparser;
$this->reparser_name = !isset($this->reparsers[$reparser]) ? $this->reparser_manager->find_reparser($reparser) : $reparser;
if ($this->resume_data === null)
{