From: Greg Sabino Mullane Date: Sun, 30 Jul 2006 23:32:50 +0000 (+0000) Subject: Make SQL more SQL compliant, remove some debugging code. X-Git-Tag: 1.31.0-rc.0~56119 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=d25e25c9c8c1d5df10e37989398e71ab8db118ff;p=lhc%2Fweb%2Fwiklou.git Make SQL more SQL compliant, remove some debugging code. --- 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++;