Skip to content

Commit 5d52dda

Browse files
author
Guillermo Prandi
committed
Round up changes suggested by lafriks
1 parent 6c1a039 commit 5d52dda

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

models/repo_watch.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ func watchRepoMode(e Engine, watch Watch, mode RepoWatchMode) (err error) {
6464
// Don't auto watch if already watching
6565
return nil
6666
}
67-
if mode == RepoWatchModeAuto && watch.Mode == RepoWatchModeDont {
68-
// Don't auto watch if explicitly not watching
69-
return nil
70-
}
7167

7268
hadrec := watch.Mode != RepoWatchModeNone
7369
needsrec := mode != RepoWatchModeNone

0 commit comments

Comments
 (0)