Uninstall Panels and Page Manager and flag them for removal in the next release.
This commit is contained in:
parent
5be217008c
commit
c1bd9cd071
|
@ -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"
|
||||
|
||||
|
|
12
farm.install
12
farm.install
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue