1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Rolled back deletion guard as some may be using the exception raised in their code

This commit is contained in:
Michael Harrison 2012-10-22 16:28:45 +10:00
parent f714d16e50
commit be9f885429

View file

@ -38,8 +38,7 @@ module Fog
def destroy
requires :directory, :key
file = directory.files.head(key)
connection.delete_namespace([directory.key, key].join('/')) if file.present?
connection.delete_namespace([directory.key, key].join('/'))
true
end