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

- Changed '50' to '20' as per Neil's comment in issue 36042 (comment #12).

parent efaf4d23
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
...@@ -1214,7 +1214,7 @@ function system_update_159() { ...@@ -1214,7 +1214,7 @@ function system_update_159() {
} }
// FIXME - wrong - allways will be true? (limit was 20) // FIXME - wrong - allways will be true? (limit was 20)
if (db_num_rows($result) < 50) { if (db_num_rows($result) < 20) {
$ret[] = update_sql('ALTER TABLE {old_revisions} DROP done'); $ret[] = update_sql('ALTER TABLE {old_revisions} DROP done');
} }
else { else {
......
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