mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 22:44:13 +00:00
This and previous checkin for bug 342549. This particular one-liner was just extra code for what already is a boolean value. Removed unnecessary terenary operator.
This commit is contained in:
parent
a7f485bea3
commit
498b026e3a
@ -267,7 +267,7 @@ class Patch extends AUS_Object {
|
||||
* @return boolean
|
||||
*/
|
||||
function isTrunk($version) {
|
||||
return ($version == 'trunk') ? true : false;
|
||||
return $version === 'trunk';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user