Files
gitlabhq/app/models
Rémy CoutableandRobert Speicher cdd533ccd1 Merge branch 'make-sure-that-artifacts-file-is-saved' into 'master'
Make sure that artifacts_file is nullified after removing artifacts

## What does this MR do?
Fixes a problem that `ExpireBuildArtifactsWorker` is executed for all previously removed artifacts.

## Why was this MR needed?
Currently the `Ci::Build::erase_artifacts!` doesn't ensure that data are saved to database.
The bang at end of this method lets you believe that it should do so.
This adds a missing `save` to this method.

## What are the relevant issue numbers?
None, yet.

## CHANGELOG
Since this is regression in feature introduce in RC4 no CHANGELOG entry is needed.

cc @grzesiek 


See merge request !4741
2016-06-17 14:20:33 -04:00
..
2016-06-14 13:18:14 +02:00
2011-10-09 00:36:38 +03:00
2016-05-18 08:47:15 -05:00
2016-03-06 23:07:19 -05:00
2016-03-29 12:19:09 +01:00
2016-05-31 19:33:46 -03:00
2016-06-01 12:10:08 +02:00
2016-05-18 23:45:25 -05:00
2016-06-01 16:22:35 +02:00
2016-05-31 11:24:58 -03:00
2016-06-14 08:36:07 +01:00