aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/rebuildrecentchanges.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2013-11-09 18:20:54 +0100
committerumherirrender <umherirrender_de.wp@web.de>2013-11-09 18:20:54 +0100
commit974562aee92a78be82cf8e1416ef44648bb7dbb7 (patch)
tree28fe0cf3babf16a5c133f188f1211eee2e2686a4 /maintenance/rebuildrecentchanges.php
parentceba5987b0d36f134ffcd9e4f704d1608fe88b79 (diff)
downloadmediawikicore-974562aee92a78be82cf8e1416ef44648bb7dbb7.tar.gz
mediawikicore-974562aee92a78be82cf8e1416ef44648bb7dbb7.zip
Remove recentchanges.rc_cur_time from sql statements
Field is unused since many versions, so remove the use in sql statements, to allow dropping in a later version. The field must not be reference from INSERT because it has a default value, which is used, when no value is specified in the statement. Keeping the field allows easier rollback on version update, when something gets wrong with the new version. Existing Comment in tables.sql was added with r101293, was already disused in r11088 Bug: 40667 Change-Id: I4a9c2fa813d1f25dfb755e564f7677a212934d7b
Diffstat (limited to 'maintenance/rebuildrecentchanges.php')
-rw-r--r--maintenance/rebuildrecentchanges.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/maintenance/rebuildrecentchanges.php b/maintenance/rebuildrecentchanges.php
index 315176c12cfc..b9eb809cd167 100644
--- a/maintenance/rebuildrecentchanges.php
+++ b/maintenance/rebuildrecentchanges.php
@@ -70,7 +70,6 @@ class RebuildRecentchanges extends Maintenance {
$dbw->insertSelect( 'recentchanges', array( 'page', 'revision' ),
array(
'rc_timestamp' => 'rev_timestamp',
- 'rc_cur_time' => 'rev_timestamp',
'rc_user' => 'rev_user',
'rc_user_text' => 'rev_user_text',
'rc_namespace' => 'page_namespace',
@@ -185,7 +184,6 @@ class RebuildRecentchanges extends Maintenance {
$dbw->insertSelect( 'recentchanges', array( 'user', "$logging LEFT JOIN $page ON (log_namespace=page_namespace AND log_title=page_title)" ),
array(
'rc_timestamp' => 'log_timestamp',
- 'rc_cur_time' => 'log_timestamp',
'rc_user' => 'log_user',
'rc_user_text' => 'user_name',
'rc_namespace' => 'log_namespace',