Project

General

Profile

Defect #12409 » repository.patch

repository.rb patch - Karel Pičman, 2012-11-20 13:07

View differences:

app/models/repository.rb (working copy)
427 427
    connection.delete("DELETE FROM #{ci} WHERE #{ci}.changeset_id IN (SELECT #{cs}.id FROM #{cs} WHERE #{cs}.repository_id = #{id})")
428 428
    connection.delete("DELETE FROM #{cp} WHERE #{cp}.changeset_id IN (SELECT #{cs}.id FROM #{cs} WHERE #{cs}.repository_id = #{id})")
429 429
    connection.delete("DELETE FROM #{cs} WHERE #{cs}.repository_id = #{id}")
430

  
431
    write_attribute(:extra_info, nil)
430 432
  end
431 433
end
    (1-1/1)