From b55f3ed43284bf1db6e8babda51a10b18ba1366c Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 11 Jul 2014 10:56:21 +0100
Subject: [PATCH] Issue #2300697 by joshi.rohit100: Remove drupal_is_cli() as
 It is deprecated.

---
 core/includes/bootstrap.inc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 055301c24d9b..247d51fa2b4c 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -1661,16 +1661,6 @@ function drupal_static_reset($name = NULL) {
   drupal_static($name, NULL, TRUE);
 }
 
-/**
- * Detects whether the current script is running in a command-line environment.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
- *   Check the PHP_SAPI value directly instead.
- */
-function drupal_is_cli() {
-  return PHP_SAPI === 'cli';
-}
-
 /**
  * Formats text for emphasized display in a placeholder inside a sentence.
  *
-- 
GitLab