Commit graph

3 commits

Author SHA1 Message Date
m b
b099c6ff9f Deleting a MR you are assigned to should decrements counter
The merge request counter in the UI was not decreasing when a merge
request was deleting.

This was just due to the cache not being
refreshed on a delete action.

fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/44458
2018-04-05 13:24:45 -05:00
Sean McGivern
ef454f68e8 Reset todo counters when the target is deleted
When the target is deleted, todos are destroyed, but we did not reset the todo
cache for users with todos on the deleted target. This would only update after
the next time the todo cache was updated for that user.
2017-12-18 12:23:00 +00:00
George Andrinopoulos
7fb1bb01bd Create issue and merge request destroy services 2017-11-25 22:09:18 +02:00