Home ›
Bug in dev Drupal 7, uninstall hook fails for any module with dynamic permissionsBug in dev Drupal 7, uninstall hook fails for any module with dynamic permissions
Submitted by Benjamin Melançon on December 19, 2009 - 3:28pm
http://api.drupal.org/api/function/drupal_uninstall_modules/7
http://api.drupal.org/api/function/user_modules_uninstalled/7
http://api.drupal.org/api/function/module_invoke/7
Ridiculous setup-- it uninstalls, and then calls functions in the module that has been uninstalled-- module_invoke will run on a module that is not enabled (see http://api.drupal.org/api/function/module_hook/7 )
In short this silliness will fail for any module that has dynamic permissions.
Comments
Post new comment