From d25e25c9c8c1d5df10e37989398e71ab8db118ff Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 30 Jul 2006 23:32:50 +0000 Subject: [PATCH] Make SQL more SQL compliant, remove some debugging code. --- includes/SpecialRecentchangeslinked.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index 2a611c4d18..3f472e64ed 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -99,7 +99,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) { AND cl_to=$catkey GROUP BY rc_cur_id,rc_namespace,rc_title, rc_user,rc_comment,rc_user_text,rc_timestamp,rc_minor, - rc_new + rc_new, rc_id, rc_this_oldid, rc_last_oldid, rc_bot, rc_patrolled, rc_type, wl_user ORDER BY rc_timestamp DESC LIMIT {$limit}; "; @@ -131,7 +131,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) { AND pl_from=$id GROUP BY rc_cur_id,rc_namespace,rc_title, rc_user,rc_comment,rc_user_text,rc_timestamp,rc_minor, - rc_new + rc_new, rc_id, rc_this_oldid, rc_last_oldid, rc_bot, rc_patrolled, rc_type, wl_user ORDER BY rc_timestamp DESC LIMIT {$limit}"; } @@ -156,8 +156,6 @@ ORDER BY rc_timestamp DESC if ( 0 == $count ) { break; } $obj = $dbr->fetchObject( $res ); --$count; -# print_r ( $obj ) ; -# print "
\n" ; $rc = RecentChange::newFromRow( $obj ); $rc->counter = $counter++; -- 2.20.1