Skip to content

Commit

Permalink
[api] check if tracker is enabled when update an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Mar 19, 2012
1 parent 48cb6c5 commit 8713e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/issue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def after_create
def fetch_updates
# FIXME: dependency cycle, but not better solvable because multiple issues
# may get fetched ?
self.issue_tracker.fetch_issues([self])
self.issue_tracker.fetch_issues([self]) if self.issue_tracker.enable_fetch
end

def label
Expand Down

0 comments on commit 8713e82

Please sign in to comment.