From 3420922b8c5fc3be1d57bc60523b3a3db199e02d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 16 May 2011 09:59:23 +0000 Subject: [PATCH] Follow-up r88190: coding style --- includes/Preferences.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index 617f3c1137..2723f75010 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -1182,10 +1182,9 @@ class Preferences { global $wgLocalTZoffset, $wgLocaltimezone; // Check that $wgLocalTZoffset is the same as $wgLocaltimezone - if ( $wgLocalTZoffset == date('Z') / 60 ) { + if ( $wgLocalTZoffset == date( 'Z' ) / 60 ) { $server_tz_msg = wfMsg( 'timezoneuseserverdefault', $wgLocaltimezone ); - } - else { + } else { $tzstring = sprintf( '%+03d:%02d', floor( $wgLocalTZoffset / 60 ), abs( $wgLocalTZoffset ) % 60 ); $server_tz_msg = wfMsg( 'timezoneuseserverdefault', $tzstring ); } -- 2.20.1