Skip to content

Commit 048725a

Browse files
author
Jen Lampton
committed
Fix the upgrade path.
1 parent f00c606 commit 048725a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

on_the_web.install

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function on_the_web_update_1000() {
1919
$config->set('sitename', update_variable_get('on_the_web_sitename', TRUE));
2020
foreach ($services as $service => $info) {
2121
$config->set($service . '_page', update_variable_get('on_the_web_' . $service . '_page', ''));
22-
$config->set($service . '_page', update_variable_get('on_the_web_' . $service . '_weight', 0));
2322
update_variable_del('on_the_web_' . $service . '_page');
23+
$config->set($service . '_weight', update_variable_get('on_the_web_' . $service . '_weight', 0));
2424
update_variable_del('on_the_web_' . $service . '_weight');
2525
}
2626
$config->save();

on_the_web.module

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function on_the_web_menu() {
2626
function on_the_web_config_info() {
2727
$prefixes['on_the_web.settings'] = array(
2828
'label' => t('Links to social media sites, and their order.'),
29-
'group' => t('On The Web'),
29+
'group' => t('Configuration'),
3030
);
3131

3232
return $prefixes;

0 commit comments

Comments
 (0)