Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Meta issue: #2205673: [meta] Remove all @deprecated functions marked "remove before 8.0"
Only the function exists, it's usage is removed
[ashish@xeon:/var/www/html/d8]$grep module_uninstall -r *
core/includes/module.inc:function module_uninstall($module_list = array(), $uninstall_dependents = TRUE) {
Change Record is Here : - https://www.drupal.org/node/1894902
Comment | File | Size | Author |
---|---|---|---|
#18 | remove_module_install-2352917-18.patch | 1.26 KB | JeroenT |
Comments
Comment #1
chintan.vyas CreditAttribution: chintan.vyas commentedRemoved the module_uninstall function which is not required anymore. Tested installing book module and uninstalling it and book table is getting deleted when I uninstall the module.
Comment #2
chintan.vyas CreditAttribution: chintan.vyas commentedComment #3
chintan.vyas CreditAttribution: chintan.vyas commentedComment #4
a_thakur CreditAttribution: a_thakur commentedPatch works fine.
Changing to RTBC.
Comment #5
alexpottCan we remove module_install in this issue too and link the correct change record?
Comment #6
joshi.rohit100Removed the module_install as well
Comment #8
joshi.rohit100Comment #9
joshi.rohit100Test is failing due to drush.
Comment #10
dinarcon CreditAttribution: dinarcon commentedUpdating issue's name based on @alexpott comment in #5. Queue for retesting.
Comment #11
alexpottWe need the new testbot infrastructure that is not dependent on drush to proceed with this change - or drush to be fixed.
Comment #12
tstoecklerSo let's proceed with #1 in the meantime?
Comment #13
a_thakur CreditAttribution: a_thakur commentedAgree with tstoeckler. Let go with #1 in the meantime, a different issue can be created to remove module_uninstall().
Comment #14
joshi.rohit100For module_install(), issue is already created but drush problem is also there.
Here https://www.drupal.org/node/2301605
Comment #15
alexpottHaving module_install() but not module_uninstall() does not make a lot of sense. Rather than discussing things here we should either but putting our efforts into the new testbot architecture or fixing drush to not use module_install for d8.
Comment #18
JeroenTComment #19
JeroenTAssigned to the following CR: Module/hook system functions replaced with module_handler and module_installer service
Comment #20
LinL CreditAttribution: LinL commentedNo module_install() or module_uninstall() in core other than in module.inc, CR done. Looks good to go.
Comment #21
alexpottCommitted f1d807b and pushed to 8.0.x. Thanks!