From 069777ac1b91aab5ef30e7cf494decd629901afe Mon Sep 17 00:00:00 2001
From: webchick <drupal@webchick.net>
Date: Mon, 16 Mar 2015 13:19:38 -0700
Subject: [PATCH] Issue #2452637 by a_thakur: Remove function
 system_rebuild_theme_data() from system.module

---
 core/modules/system/system.module | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index f784b3f4b2f4..d2bda7f33db7 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -1006,19 +1006,6 @@ function system_rebuild_module_data() {
   return $modules_cache;
 }
 
-/**
- * Rebuild, save, and return data about all currently available themes.
- *
- * @return \Drupal\Core\Extension\Extension[]
- *   Array of all available themes and their data.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
- *   Use \Drupal::service('theme_handler')->rebuildThemeData().
- */
-function system_rebuild_theme_data() {
-  return \Drupal::service('theme_handler')->rebuildThemeData();
-}
-
 /**
  * Returns an array of default theme features.
  */
-- 
GitLab