Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7008cd71
Commit
7008cd71
authored
Mar 03, 2005
by
Dries Buytaert
Browse files
- Better upgrade path. Suggested by Neil.
parent
f7b8f535
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/updates.inc
View file @
7008cd71
...
...
@@ -2306,8 +2306,9 @@ function update_125() {
}
function
update_126
()
{
$ret
[]
=
update_sql
(
"DELETE FROM
{
variable
}
WHERE name LIKE 'forum_block_%'"
);
return
$ret
;
variable_set
(
'forum_block_num_0'
,
variable_get
(
'forum_block_num'
,
5
));
variable_set
(
'forum_block_num_1'
,
variable_get
(
'forum_block_num'
,
5
));
variable_delete
(
'forum_block_num'
);
}
function
update_sql
(
$sql
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment