mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Don't setup the DateTimeFactory when bootstrapping Icinga Web 2
DateTimeFactory will be removed soon. refs #6778
This commit is contained in:
parent
ab7c529094
commit
ba258524a8
@ -12,7 +12,6 @@ use Icinga\Data\ResourceFactory;
|
||||
use Icinga\Exception\ConfigurationError;
|
||||
use Icinga\Exception\NotReadableError;
|
||||
use Icinga\Application\Logger;
|
||||
use Icinga\Util\DateTimeFactory;
|
||||
use Icinga\Util\Translator;
|
||||
use Icinga\Exception\IcingaException;
|
||||
|
||||
@ -568,7 +567,6 @@ abstract class ApplicationBootstrap
|
||||
date_default_timezone_set($timezone);
|
||||
}
|
||||
}
|
||||
DateTimeFactory::setConfig(array('timezone' => $timezone));
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user