Cleanup: remove unused code
This commit is contained in:
parent
641ed7ace9
commit
b9609f8866
@ -75,10 +75,3 @@ func openDBWithConfig(uri string, config *gorm.Config) (*DB, error) {
|
|||||||
}
|
}
|
||||||
return &db, nil
|
return &db, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GormDB returns the GORM interface.
|
|
||||||
// This should only be used for the one Task Scheduler Monster Query. Other
|
|
||||||
// operations should just be implemented as a function on DB.
|
|
||||||
func (db *DB) GormDB() *gorm.DB {
|
|
||||||
return db.gormDB
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user