This commit is contained in:
Vokhmin Alexey V 2013-02-15 13:36:50 +04:00
parent a82167fe4c
commit bc7c478f4d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module Modules
def destroy_files_from_file_store(args = sha1_of_file_store_files) def destroy_files_from_file_store(args = sha1_of_file_store_files)
files = *args files = *args
token = User.system.find_by_uname('file_store').authentication_token token = User.find_by_uname('file_store').authentication_token
uri = URI APP_CONFIG['file_store_url'] uri = URI APP_CONFIG['file_store_url']
Net::HTTP.start(uri.host, uri.port) do |http| Net::HTTP.start(uri.host, uri.port) do |http|
files.each do |sha1| files.each do |sha1|