From 11c67c2d6d5ae55adcc656951e78676187e0bffc Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 25 Nov 2010 15:12:04 +0000 Subject: [PATCH] Fix indentation in Block::infinity() --- includes/Block.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/Block.php b/includes/Block.php index 7c1b5d5c9e..9a6e8cb12a 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -858,14 +858,14 @@ class Block { # This is a special keyword for timestamps in PostgreSQL, and # works with CHAR(14) as well because "i" sorts after all numbers. - # BEGIN DatabaseMssql hack - # Since MSSQL doesn't recognize the infinity keyword, set date manually. - # TO-DO: Refactor for better DB portability and remove magic date - $dbr = wfGetDB( DB_SLAVE ); - if ( $dbr->getType() == 'mssql' ) { - return '3000-01-31 00:00:00.000'; - } - # End DatabaseMssql hack + # BEGIN DatabaseMssql hack + # Since MSSQL doesn't recognize the infinity keyword, set date manually. + # TO-DO: Refactor for better DB portability and remove magic date + $dbr = wfGetDB( DB_SLAVE ); + if ( $dbr->getType() == 'mssql' ) { + return '3000-01-31 00:00:00.000'; + } + # End DatabaseMssql hack return 'infinity'; } -- 2.20.1