From ca02f0706f69aa336ca807600860f8b9ca68423f Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Wed, 24 Apr 2013 01:49:40 +0400 Subject: [PATCH] #111: Fixed removing repository --- app/models/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository.rb b/app/models/repository.rb index 23a4234d6..5a7968cab 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -17,7 +17,7 @@ class Repository < ActiveRecord::Base scope :recent, order("#{table_name}.name ASC") - before_destroy :detele_directory, :unless => lambda {Thread.current[:skip]} + before_destroy :detele_directory attr_accessible :name, :description, :publish_without_qa attr_readonly :name, :platform_id