We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e41d087 commit b702507Copy full SHA for b702507
models/repo/issue.go
@@ -31,7 +31,7 @@ func (repo *Repository) IsTimetrackerEnabled() bool {
31
return repo.IsTimetrackerEnabledCtx(db.DefaultContext)
32
}
33
34
-// IsTimetrackerEnabled returns whether or not the timetracker is enabled. It returns the default value from config if an error occurs.
+// IsTimetrackerEnabledCtx returns whether or not the timetracker is enabled. It returns the default value from config if an error occurs.
35
func (repo *Repository) IsTimetrackerEnabledCtx(ctx context.Context) bool {
36
if !setting.Service.EnableTimetracking {
37
return false
0 commit comments