Skip to content

Commit

Permalink
Merge pull request #366 from timmullin/RE-56
Browse files Browse the repository at this point in the history
Remove cPanel version check in the BEGIN block
  • Loading branch information
toddr authored Jan 31, 2024
2 parents 154c62b + 0247fe0 commit b2616d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -4980,13 +4980,6 @@ BEGIN {
warn(qq[This script is designed to only run on cPanel servers.\n]);
exit 1;
};

$Cpanel::Version::Tiny::major_version >= Elevate::Constants::MINIMUM_LTS_SUPPORTED
or do {
warn qq[You need to upgrade your cPanel server to version ] . Elevate::Constants::MINIMUM_LTS_SUPPORTED #
. qq[ or later before running this script.\n];
exit 1;
};
}

use Log::Log4perl qw(:easy);
Expand Down
7 changes: 0 additions & 7 deletions script/elevate-cpanel.PL
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,6 @@ BEGIN {
warn(qq[This script is designed to only run on cPanel servers.\n]);
exit 1;
};

$Cpanel::Version::Tiny::major_version >= Elevate::Constants::MINIMUM_LTS_SUPPORTED
or do {
warn qq[You need to upgrade your cPanel server to version ] . Elevate::Constants::MINIMUM_LTS_SUPPORTED #
. qq[ or later before running this script.\n];
exit 1;
};
}

use Log::Log4perl qw(:easy);
Expand Down

0 comments on commit b2616d2

Please sign in to comment.