Uninstall Panels and Page Manager and flag them for removal in the next release.

This commit is contained in:
Michael Stenta 2016-01-26 14:31:10 -05:00
parent 5be217008c
commit c1bd9cd071
2 changed files with 13 additions and 0 deletions

View File

@ -102,6 +102,7 @@ projects[openlayers][patch][] = "http://www.drupal.org/files/issues/openlayers_e
projects[openlayers_geolocate_button][subdir] = "contrib"
projects[openlayers_geolocate_button][version] = "3.2"
; DEPRECATED - Will be removed in the next release.
projects[panels][subdir] = "contrib"
projects[panels][version] = "3.5"

View File

@ -304,6 +304,18 @@ function farm_update_7014(&$sandbox) {
}
}
/**
* Uninstall Panels and Page Manager.
*/
function farm_update_7015(&$sandbox) {
$modules = array(
'page_manager',
'panels',
);
module_disable(array($modules));
drupal_uninstall_modules(array($modules));
}
/**
* Helper function: enable modules.
*/