Chore: remove querylibrary feature toggle (#65021)

* chore: remove querylibrary

* chore: remove querylibrary

* chore: remove querylibrary
This commit is contained in:
Artur Wierzbicki
2023-03-20 20:00:14 +04:00
committed by GitHub
parent 68551ac9ca
commit 4274b9414f
53 changed files with 6 additions and 3527 deletions
-6
View File
@@ -227,12 +227,6 @@ func (hs *HTTPServer) GetDashboard(c *contextmodel.ReqContext) response.Response
// make sure db version is in sync with json model version
dash.Data.Set("version", dash.Version)
if hs.QueryLibraryService != nil && !hs.QueryLibraryService.IsDisabled() {
if err := hs.QueryLibraryService.UpdateDashboardQueries(c.Req.Context(), c.SignedInUser, dash); err != nil {
return response.Error(500, "Error while loading saved queries", err)
}
}
dto := dtos.DashboardFullWithMeta{
Dashboard: dash.Data,
Meta: meta,