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)
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']
Net::HTTP.start(uri.host, uri.port) do |http|
files.each do |sha1|