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…
Reference in New Issue