Commit 7d6dd47b authored by Matt Glaman's avatar Matt Glaman

Issue #2498645: Social Menu updates links to CommerceGuys

parent 37ff8ee3
......@@ -60,5 +60,14 @@ function commerce_kickstart_social_enable() {
* Rebuild Commerce Kickstart Social to ensure Service Links settings.
*/
function commerce_kickstart_social_update_7200() {
commerce_kickstart_rebuild_feature('commerce_kickstart_social');
// Proper fix for upgrade path from #2245219.
if (!variable_get('service_links_node_view_modes')) {
variable_set('service_links_node_view_modes', array(
'full' => 'full',
'teaser' => 0,
'rss' => 0,
'token' => 0,
'product_list' => 0,
));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment