diff --git a/core/includes/path.inc b/core/includes/path.inc
index 616bb47..51322d7 100644
--- a/core/includes/path.inc
+++ b/core/includes/path.inc
@@ -80,34 +80,6 @@ function current_path() {
 }
 
 /**
- * Determines whether a path is in the administrative section of the site.
- *
- * By default, paths are considered to be non-administrative. If a path does
- * not match any of the patterns in path_get_admin_paths(), or if it matches
- * both administrative and non-administrative patterns, it is considered
- * non-administrative.
- *
- * @param $path
- *   A Drupal path.
- *
- * @return
- *   TRUE if the path is administrative, FALSE otherwise.
- *
- * @deprecated Use \Drupal::service('router.admin_context')->isAdminRoute()
- *   service instead.
- */
-function path_is_admin($path) {
-  try {
-    $parameters = \Drupal::service('router')->match('/' . $path);
-    $route = $parameters[RouteObjectInterface::ROUTE_OBJECT];
-    return \Drupal::service('router.admin_context')->isAdminRoute($route);
-  }
-  catch (ParamNotConvertedException $e) {
-    return FALSE;
-  }
-}
-
-/**
  * Checks a path exists and the current user has access to it.
  *
  * @param string $path
