http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88222
Revision: 88222
Author: nikerabbit
Date: 2011-05-16 09:59:23 +0000 (Mon, 16 May 2011)
Log Message:
-----------
Follow-up r88190: coding style
Modified Paths:
--------------
trunk/phase3/includes/Preferences.php
Modified: trunk/phase3/includes/Preferences.php
===================================================================
--- trunk/phase3/includes/Preferences.php 2011-05-16 09:52:52 UTC (rev
88221)
+++ trunk/phase3/includes/Preferences.php 2011-05-16 09:59:23 UTC (rev
88222)
@@ -1182,10 +1182,9 @@
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 );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs