Remove isset() check for $wgLocalTZoffset in Language.php
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 10 May 2014 11:19:58 +0000 (13:19 +0200)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 10 May 2014 11:19:58 +0000 (13:19 +0200)
commitcbdb2ce36423615852734b9bffbe5240fb02a631
tree8ae3c5a4e3db2c71f26a36e8d567b921acb496b6
parentf9ade80aaa199de77d80110c188c051700f531bb
Remove isset() check for $wgLocalTZoffset in Language.php

Do not use isset() to check for null; furthermore this variable
can no longer be null at this point now, so the check is useless.

Also remove the initial defintion of $minDiff since this was the
only case where it could be not set afterwards and fix spacing
after the comment.

Change-Id: I6e62ce1217e6e8750acb411673903fc3bde57841
languages/Language.php