mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Save device report in database.
This commit is contained in:
@@ -910,6 +910,12 @@ namespace DiscImageChef.Commands
|
||||
|
||||
Core.Statistics.AddCommand("device-report");
|
||||
|
||||
using(DicContext ctx = new DicContext())
|
||||
{
|
||||
ctx.Reports.Add(new Report(report));
|
||||
ctx.SaveChanges();
|
||||
}
|
||||
|
||||
// TODO:
|
||||
//if(Settings.Settings.Current.ShareReports) Remote.SubmitReport(report);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user