Remove isset() check in Sanitizer::setupAttributeWhitelist()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sun, 6 Apr 2014 16:28:17 +0000 (18:28 +0200)
committerIAlex <codereview@emsenhuber.ch>
Tue, 10 Jun 2014 19:55:53 +0000 (19:55 +0000)
commitc156ad2c4e93b9deb56b3bd9af7ac605c9b2c6f8
treeb44f9e05314ff35fe336cc32f0da0d0b42130f87
parent3000943df0c4558bff00896b7c7442f26c5f42d3
Remove isset() check in Sanitizer::setupAttributeWhitelist()

Declared variables have a default value of null, so there is
no point to use isset() to check only if it has the value null.

Also changed the location of the line break to group variable
declarations.

Change-Id: Ic36fc95db86909d8b5075954a72afa479fa20d0d
includes/Sanitizer.php