Don't setup the DateTimeFactory when bootstrapping Icinga Web 2

DateTimeFactory will be removed soon.

refs #6778
This commit is contained in:
Eric Lippmann 2015-05-19 11:23:50 +02:00
parent ab7c529094
commit ba258524a8
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}