Cleanup: remove unused code

This commit is contained in:
Sybren A. Stüvel 2022-03-03 13:52:57 +01:00
parent 641ed7ace9
commit b9609f8866

View File

@ -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
}