summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-02-09 09:08:41 +0000
committerAlex Pott2015-02-09 09:08:41 +0000
commitf1d807b546aa261209448cf85a3addee97a558c2 (patch)
treea9b0f87958e5262c24e94498bbf4ba58e27234db
parent6f34dffef6316a1270cfbf581f141082c28f9d04 (diff)
Issue #2352917 by joshi.rohit100, chintan.vyas, JeroenT: Remove module_install() and module_uninstall() from module.inc
-rw-r--r--core/includes/module.inc24
1 files changed, 0 insertions, 24 deletions
diff --git a/core/includes/module.inc b/core/includes/module.inc
index f4fac6e..642c32c 100644
--- a/core/includes/module.inc
+++ b/core/includes/module.inc
@@ -152,30 +152,6 @@ function module_load_include($type, $module, $name = NULL) {
}
/**
- * Installs a given list of modules.
- *
- * @see \Drupal\Core\Extension\ModuleHandlerInterface::install()
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
- * \Drupal::service('module_installer')->install($module_list, $enable_dependencies = TRUE).
- */
-function module_install($module_list, $enable_dependencies = TRUE) {
- return \Drupal::service('module_installer')->install($module_list, $enable_dependencies);
-}
-
-/**
- * Installs a given list of modules.
- *
- * @see \Drupal\Core\Extension\ModuleHandlerInterface::module_install()
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
- * \Drupal::service('module_installer')->uninstall($module_list, $enable_dependencies = TRUE).
- */
-function module_uninstall($module_list = array(), $uninstall_dependents = TRUE) {
- return \Drupal::service('module_installer')->uninstall($module_list, $uninstall_dependents);
-}
-
-/**
* Returns an array of modules required by core.
*/
function drupal_required_modules() {