Commit a64f61b7 authored by Crell's avatar Crell

Minor code simplification.

parent eb8fe490
......@@ -38,7 +38,5 @@
$resolver = new ControllerResolver();
$kernel = new DrupalKernel($dispatcher, $resolver);
$response = $kernel->handle($request);
$response->prepare($request);
$response->send();
$response = $kernel->handle($request)->prepare($request)->send();
$kernel->terminate($request, $response);
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