API/CodeSamples/CustomTimePeriods.md
... ...
@@ -24,9 +24,6 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
24 24
AdHocSettings.CustomTimePeriods.Add("Lunar Cycle", new CustomTimePeriod("Lunar Cycle", new TimeSpan(29, 12, 44, 2, 976)));
25 25
HttpContext.Current.Session["ReportingInitialized"] = true;
26 26
}
27
- public override void ConfigureSettings() {
28
- AdHocSettings.VisibleDataSources = new string[] {"DataSource1", "DataSource2"};
29
- }
30 27
}
31 28
```
32 29