Skip to content

Commit

Permalink
fix low php version warning message (openemr#2302)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Mar 20, 2019
1 parent 0621bab commit 6245377
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions common/compatibility/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ class Checker
{
private static $minimumPhpVersion = "7.1.2";

private static function xlDelegate($value)
{
if (function_exists("xl")) {
return xl($value);
}

return $value;
}

/**
* Checks to see if minimum PHP version is met.
*
Expand All @@ -38,7 +29,7 @@ public static function checkPhpVersion()
$response = "";

if (!$phpCheck) {
$response .= self::xlDelegate("PHP version needs to be at least") . " " . self::$minimumPhpVersion . ".";
$response .= "PHP version needs to be at least" . " " . self::$minimumPhpVersion . ".";
} else {
$response = true;
}
Expand Down

0 comments on commit 6245377

Please sign in to comment.