diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-07-23 10:05:34 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 08:28:13 +0300 |
commit | 16107364b8f0904e25a70dac29a26c435118fb29 (patch) | |
tree | 7ac9d4869906932d0b39121d0bd2c20a87d9e473 /app/services | |
parent | fb06a4d8fe7bb10c2784f323261cfde04718aec9 (diff) |
Make disk_path keyword argument and optional
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/destroy_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb index b7f4dba08a9..11ad4838471 100644 --- a/app/services/projects/destroy_service.rb +++ b/app/services/projects/destroy_service.rb @@ -127,7 +127,7 @@ module Projects def flush_caches(project) project.repository.before_delete - Repository.new(wiki_path, repo_path, project).before_delete + Repository.new(wiki_path, project, disk_path: repo_path).before_delete end end end |