From: Sam Reed Date: Thu, 6 Jan 2011 15:25:31 +0000 (+0000) Subject: Followup r79707, nicer whitespace. Beyond this, I'm beyond caring... X-Git-Tag: 1.31.0-rc.0~32766 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=6f9db5c67be4b3fcf359b60039bdd5eaa04e6f65;p=lhc%2Fweb%2Fwiklou.git Followup r79707, nicer whitespace. Beyond this, I'm beyond caring... --- diff --git a/includes/WatchlistEditor.php b/includes/WatchlistEditor.php index ec4faf4053..a1a33640da 100644 --- a/includes/WatchlistEditor.php +++ b/includes/WatchlistEditor.php @@ -208,13 +208,15 @@ class WatchlistEditor { $titles = array(); $dbr = wfGetDB( DB_MASTER ); - $res = $dbr->select( array( 'watchlist', 'page' ), - array( 'wl_namespace', 'wl_title', 'page_id', 'page_len', 'page_is_redirect', 'page_latest' ), - array( 'wl_user' => $user->getId() ), - __METHOD__, - $dbr->implicitOrderby() ? array( ) : array( 'ORDER BY' => 'wl_title' ), - array( 'page' => array( 'LEFT JOIN', 'wl_namespace = page_namespace AND wl_title = page_title' ) ) - ); + $res = $dbr->select( + array( 'watchlist', 'page' ), + array( 'wl_namespace', 'wl_title', 'page_id', 'page_len', 'page_is_redirect', 'page_latest' ), + array( 'wl_user' => $user->getId() ), + __METHOD__, + $dbr->implicitOrderby() ? array( ) : array( 'ORDER BY' => 'wl_title' ), + array( 'page' => + array( 'LEFT JOIN', 'wl_namespace = page_namespace AND wl_title = page_title' ) ) + ); if( $res && $dbr->numRows( $res ) > 0 ) { $cache = LinkCache::singleton();