Skip to content
Snippets Groups Projects
Commit ff760f00 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #67146 by webchick: fixed upgrade path.

parent 226eed70
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -2064,7 +2064,7 @@ function system_update_185() { ...@@ -2064,7 +2064,7 @@ function system_update_185() {
// Make the forum's vocabulary the highest in list, if present // Make the forum's vocabulary the highest in list, if present
$ret = array(); $ret = array();
if ($vid = variable_get('forum_nav_vocabulary', 0) { if ($vid = variable_get('forum_nav_vocabulary', 0)) {
db_query('UPDATE {vocabulary} SET weight = %d WHERE vid = %d', -10, $vid); db_query('UPDATE {vocabulary} SET weight = %d WHERE vid = %d', -10, $vid);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment