Skip to content

Commit

Permalink
Merge pull request #4 from jenlampton/1-upgrade
Browse files Browse the repository at this point in the history
Fix the upgrade path.
  • Loading branch information
jenlampton committed Feb 5, 2016
2 parents f00c606 + 048725a commit d692af4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion on_the_web.install
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function on_the_web_update_1000() {
$config->set('sitename', update_variable_get('on_the_web_sitename', TRUE));
foreach ($services as $service => $info) {
$config->set($service . '_page', update_variable_get('on_the_web_' . $service . '_page', ''));
$config->set($service . '_page', update_variable_get('on_the_web_' . $service . '_weight', 0));
update_variable_del('on_the_web_' . $service . '_page');
$config->set($service . '_weight', update_variable_get('on_the_web_' . $service . '_weight', 0));
update_variable_del('on_the_web_' . $service . '_weight');
}
$config->save();
Expand Down
2 changes: 1 addition & 1 deletion on_the_web.module
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function on_the_web_menu() {
function on_the_web_config_info() {
$prefixes['on_the_web.settings'] = array(
'label' => t('Links to social media sites, and their order.'),
'group' => t('On The Web'),
'group' => t('Configuration'),
);

return $prefixes;
Expand Down

0 comments on commit d692af4

Please sign in to comment.