Skip to content

Commit

Permalink
fixup! Move outdated PHP checkers to plesk database functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Feb 16, 2024
1 parent ae9f44b commit b8c3c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pleskdistup/actions/common_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(
def _do_check(self) -> bool:
log.debug(f"Checking the minimum PHP version being used by the websites. The restriction is: {self.min_version}")
if not plesk.is_plesk_database_ready():
log.info("Plesk database is not ready. Skipping the outdated php for websites check.")
log.info("Plesk database is not ready. Skipping the outdated PHP for websites check.")
return True

outdated_php_handlers = php.get_outdated_php_handlers(self.min_version)
Expand Down Expand Up @@ -204,7 +204,7 @@ def __init__(
def _do_check(self) -> bool:
log.debug(f"Checking the minimum PHP version used in cronjobs. Restriction is: {self.min_version}")
if not plesk.is_plesk_database_ready():
log.info("Plesk database is not ready. Skipping the outdated php for websites check.")
log.info("Plesk database is not ready. Skipping the outdated PHP for websites check.")
return True

outdated_php_handlers = php.get_outdated_php_handlers(self.min_version)
Expand Down

0 comments on commit b8c3c3e

Please sign in to comment.