From da86581bf22dfe1770ca8c4912777a1cf03caff0 Mon Sep 17 00:00:00 2001 From: Philipp Date: Mon, 1 Nov 2021 13:58:36 +0100 Subject: [PATCH] Deactivating isMinMemoryReached() --- src/Core/System.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Core/System.php b/src/Core/System.php index 9002c5a7b..445123906 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -106,6 +106,12 @@ class System */ public function isMinMemoryReached(): bool { + // Deactivated, needs more investigating if this check really makes sense + return false; + + /* + * Commented out to suppress static analyzer issues + * $min_memory = $this->config->get('system', 'min_memory', 0); if ($min_memory == 0) { return false; @@ -141,6 +147,7 @@ class System } return $reached; + */ } /**