1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12932] Add method for getting the datetime class and allow overriding

An extension can now override the datetime class by overwriting the
datetime.class parameter in their own yml file.

PHPBB3-12932
This commit is contained in:
Marc Alexander
2014-08-10 12:55:49 +02:00
parent 7cc9f216e7
commit a57a96cbdd
6 changed files with 31 additions and 6 deletions

View File

@@ -121,7 +121,7 @@ class soft_delete_mod_convert extends \phpbb\db\migration\migration
new \phpbb\auth\auth(),
$this->config,
$this->db,
new \phpbb\user(),
new \phpbb\user('\phpbb\datetime'),
$this->phpbb_root_path,
$this->php_ext,
$this->table_prefix . 'forums',