1
0
Fork 0

Deactivating isMinMemoryReached()

This commit is contained in:
Philipp Holzer 2021-11-01 13:58:36 +01:00
parent 62bacbb833
commit da86581bf2
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -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;
*/
}
/**