From: Aaron Schulz Date: Wed, 9 Apr 2008 20:07:07 +0000 (+0000) Subject: Tweak comment X-Git-Tag: 1.31.0-rc.0~48476 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=b35db9835e7c0f2be8fa93db8f1e07f8402ea923;p=lhc%2Fweb%2Fwiklou.git Tweak comment --- diff --git a/maintenance/populateParentId.php b/maintenance/populateParentId.php index 863d7edae6..4b73070eed 100644 --- a/maintenance/populateParentId.php +++ b/maintenance/populateParentId.php @@ -41,7 +41,7 @@ function populate_rev_parent_id( $db ) { foreach( $res as $row ) { # First, check rows with the same timestamp other than this one # with a smaller rev ID. The highest ID "wins". This avoids loops - # as either id or timestamp need to be going from parent_id to parent_id + # as timestamp can only decrease and never loops with IDs (from parent to parent) $previousID = $db->selectField( 'revision', 'rev_id', array( 'rev_page' => $row->rev_page, 'rev_timestamp' => $row->rev_timestamp, "rev_id < {$row->rev_id}" ),