$minValue.' is not a valid value for minimal versions retention obligation. Check versions_retention_obligation in your config.php. Falling back to auto.',
['app'=>'files_versions']
);
}
if(!ctype_digit($maxValue)&&$maxValue!=='auto'){
$isValid=false;
\OC::$server->getLogger()->warning(
$maxValue.' is not a valid value for maximal versions retention obligation. Check versions_retention_obligation in your config.php. Falling back to auto.',
['app'=>'files_versions']
);
}
if(!$isValid){
$minValue='auto';
$maxValue='auto';
}
if($minValue==='auto'&&$maxValue==='auto'){
// Default: Keep for 30 days but delete anytime if space needed