Fix indentation in Block::infinity()
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Nov 2010 15:12:04 +0000 (15:12 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Nov 2010 15:12:04 +0000 (15:12 +0000)
includes/Block.php

index 7c1b5d5..9a6e8cb 100644 (file)
@@ -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';
        }