From: Happy-melon Date: Wed, 23 Mar 2011 22:29:56 +0000 (+0000) Subject: Follow-up r79723: even nicer whitespace :D X-Git-Tag: 1.31.0-rc.0~31221 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=06ca5a3fa54c40cd91b54d229cef8ad2b84c676d;p=lhc%2Fweb%2Fwiklou.git Follow-up r79723: even nicer whitespace :D --- diff --git a/includes/WatchlistEditor.php b/includes/WatchlistEditor.php index 68c6b5a9da..f5359bca88 100644 --- a/includes/WatchlistEditor.php +++ b/includes/WatchlistEditor.php @@ -212,14 +212,23 @@ class WatchlistEditor { $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__, - array( 'ORDER BY' => 'wl_namespace, wl_title' ), - array( 'page' => - array( 'LEFT JOIN', 'wl_namespace = page_namespace AND wl_title = page_title' ) ) - ); + array( 'watchlist', 'page' ), + array( + 'wl_namespace', + 'wl_title', + 'page_id', + 'page_len', + 'page_is_redirect', + 'page_latest' + ), + array( 'wl_user' => $user->getId() ), + __METHOD__, + array( 'ORDER BY' => 'wl_namespace, 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();