• Yorick Peterse's avatar
    Flush all repository caches when deleting a repo · b1203108
    Yorick Peterse authored
    This ensures that _all_ caches (including any caches normally only
    flushed under certain conditions) are flushed whenever a project is
    removed. Because cache keys are based on project namespaces (excluding
    IDs) not doing so could result in a newly created project re-using old
    caches (if the project was re-created using the same name).
    b1203108
repository.rb 17.5 KB