remove unnecessary ternaries (#1027)
* remove unnecessary ternaries * fix: !($id <= 0); * remove ternary
This commit is contained in:
@@ -85,5 +85,5 @@ function versionInUpdate($current_version, $version_to_check)
|
||||
return true;
|
||||
}
|
||||
|
||||
return (\Froxlor\Froxlor::versionCompare2($current_version, $version_to_check) == -1 ? true : false);
|
||||
return \Froxlor\Froxlor::versionCompare2($current_version, $version_to_check) == -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user