Commit 5efc932f authored by Niklas Fiekas's avatar Niklas Fiekas Committed by katbailey

The httpkernel service is now named http_kernel.

parent 6b231d8f
......@@ -509,7 +509,7 @@ function comment_permalink($cid) {
// @todo: Convert the pager to use the request object.
$_GET['page'] = $page;
request($subrequest);
return drupal_container()->get('httpkernel')->handle($subrequest, HttpKernelInterface::SUB_REQUEST);
return drupal_container()->get('http_kernel')->handle($subrequest, HttpKernelInterface::SUB_REQUEST);
}
throw new NotFoundHttpException();
}
......
......@@ -500,7 +500,7 @@ function user_page() {
// @todo: Cleaner sub request handling.
$subrequest = Request::create('/user/' . $user->uid, 'GET', request()->query->all(), request()->cookies->all(), array(), request()->server->all());
request($subrequest);
return drupal_container()->get('httpkernel')->handle($subrequest, HttpKernelInterface::SUB_REQUEST);
return drupal_container()->get('http_kernel')->handle($subrequest, HttpKernelInterface::SUB_REQUEST);
}
else {
return drupal_get_form('user_login');
......
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