c2acc71500
Apply the security fixes including: - Drupal Core - Moderately Critical - Multiple Vulnerabilities - SA-CORE-2015-001 - SA-CONTRIB-2015-079 - Chaos tool suite (ctools) - Multiple vulnerabilities The following patches were applied to 7.x-3.23 commons modules: - patches/0001-utility-links-block-install-theme.patch - patches/0002-events-page-refactor-to-pages-module.patch Installation profile got a refactor of module installation, as groups_ modules and l10n_updates deployed from an installation task to avoid memory exhausted errors of the installation process. Change-Id: I48481657124fdbbee84e1cbfec3a3a2b5f475c2c
44 lines
1.6 KiB
Diff
44 lines
1.6 KiB
Diff
diff -Naur commons_utility_links.orig/commons_utility_links.install commons_utility_links/commons_utility_links.install
|
|
--- commons_utility_links.orig/commons_utility_links.install 2015-03-24 13:44:17.000000000 +0100
|
|
+++ commons_utility_links/commons_utility_links.install 2015-03-24 13:43:43.000000000 +0100
|
|
@@ -9,11 +9,12 @@
|
|
*/
|
|
function commons_utility_links_install() {
|
|
cache_clear_all('*', 'cache_block', TRUE);
|
|
+ $theme = variable_get('theme_default', 'openstack_bootstrap');
|
|
// Place site blocks in the menu_bar and header regions.
|
|
$utility_block = array(
|
|
'module' => 'commons_utility_links',
|
|
'delta' => 'commons_utility_links',
|
|
- 'theme' => 'commons_origins',
|
|
+ 'theme' => $theme,
|
|
'visibility' => 0,
|
|
'region' => 'header',
|
|
'status' => 1,
|
|
@@ -28,7 +29,7 @@
|
|
->fields(array('cache' => DRUPAL_NO_CACHE))
|
|
->condition('delta', 'commons_utility_links')
|
|
->condition('module', 'commons_utility_links')
|
|
- ->condition('theme', 'commons_origins')
|
|
+ ->condition('theme', $theme)
|
|
->execute();
|
|
}
|
|
|
|
@@ -36,6 +37,7 @@
|
|
* Remove utility_links block, and enable commons_utility_links, that never caches.
|
|
*/
|
|
function commons_utility_links_update_7301() {
|
|
+ $theme = variable_get('theme_default', 'openstack_bootstrap');
|
|
db_delete('block')
|
|
->condition('module', 'commons_utility_links')
|
|
->condition('delta', 'utility_links')
|
|
@@ -50,7 +52,7 @@
|
|
))
|
|
->condition('delta', 'commons_utility_links')
|
|
->condition('module', 'commons_utility_links')
|
|
- ->condition('theme', 'commons_origins')
|
|
+ ->condition('theme', $theme)
|
|
->execute();
|
|
cache_clear_all('*', 'cache_block', TRUE);
|
|
}
|