Commit 17a7f55a authored by xjm's avatar xjm
Browse files

Issue #2474047 by arturogarrido, ejabrown, mikeburrelljr, acrosman, lauriii,...

Issue #2474047 by arturogarrido, ejabrown, mikeburrelljr, acrosman, lauriii, pwolanin, dawehner: Remove Timer from DrupalKernel
parent 8f5c3245
......@@ -10,7 +10,6 @@
use Drupal\Component\FileCache\FileCacheFactory;
use Drupal\Component\ProxyBuilder\ProxyDumper;
use Drupal\Component\Utility\Crypt;
use Drupal\Component\Utility\Timer;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Config\BootstrapConfigStorageFactory;
......@@ -405,9 +404,6 @@ public function boot() {
return $this;
}
// Start a page timer:
Timer::start('page');
// Ensure that findSitePath is set.
if (!$this->sitePath) {
throw new \Exception('Kernel does not have site path set before calling boot()');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment