From 67ccbfd6059d21ca92c37bfffa585d04c2f38bfa Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 20 Sep 2005 00:14:01 +0000 Subject: [PATCH] * Skip update of disused 'rc_cur_time' field (todo: discard the field) --- RELEASE-NOTES | 1 + includes/RecentChange.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bf454ca162..a8664b1b2a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -116,6 +116,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 3489) PHP 5.1 compat problem with captioned images * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads by default when 'watchdefault' option is on +* Skip update of disused 'rc_cur_time' field (todo: discard the field) === Caveats === diff --git a/includes/RecentChange.php b/includes/RecentChange.php index bcc4f06382..4df26d06a0 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -153,8 +153,8 @@ class RecentChange } # Update rc_cur_time - $dbw->update( 'recentchanges', array( 'rc_cur_time' => $now ), - array( 'rc_cur_id' => $curId ), $fname ); + #$dbw->update( 'recentchanges', array( 'rc_cur_time' => $now ), + # array( 'rc_cur_id' => $curId ), $fname ); } # Notify external application via UDP -- 2.20.1