cleanup backup files

This commit is contained in:
xiaomlove
2025-05-17 15:14:55 +07:00
parent 0b35fe662d
commit be07e64bd6
7 changed files with 41 additions and 14 deletions

View File

@@ -253,5 +253,10 @@ class Setting extends NexusModel
return self::get("backup.export_path");
}
public static function getBackupRetentionCount(): int
{
return (int)self::get("backup.retention_count");
}
}