mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Merge branch 'fixDashboardDelete' of https://github.com/raintank/grafana into raintank-fixDashboardDelete
Conflicts: pkg/services/sqlstore/dashboard.go
This commit is contained in:
commit
3f96afba73
@ -171,7 +171,7 @@ func DeleteDashboard(cmd *m.DeleteDashboardCommand) error {
|
||||
sess := x.NewSession()
|
||||
defer sess.Close()
|
||||
|
||||
rawSql := "DELETE FROM Dashboard WHERE org_id=? and slug=?"
|
||||
rawSql := "DELETE FROM dashboard WHERE org_id=? and slug=?"
|
||||
_, err := sess.Exec(rawSql, cmd.OrgId, cmd.Slug)
|
||||
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user