Skip to content
Snippets Groups Projects
Commit 5174b839 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Fix minimum age check in expiration util.

parent 45596157
No related merge requests found
......@@ -695,7 +695,7 @@ class UtilController extends AbstractBase
$sleepTime = $request->getParam('sleep', 100);
// Abort if we have an invalid expiration age.
if ($daysOld < 2) {
if ($daysOld < $minAge) {
Console::writeLine(
str_replace(
'%%age%%', $minAge,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment