From cf5dc8b87d20ebe196988e59c136da5619a8247f Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sat, 10 Dec 2005 08:14:57 +0000
Subject: [PATCH] - Changed '50' to '20' as per Neil's comment in issue 36042
 (comment #12).

---
 database/updates.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/database/updates.inc b/database/updates.inc
index b1aa202862b3..d86fd751d76d 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -1214,7 +1214,7 @@ function system_update_159() {
   }
 
   // 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');
   }
   else {
-- 
GitLab