Changed if to unless.

This commit is contained in:
ethicalhack3r
2013-01-27 12:41:51 +01:00
parent 39d7bb83b2
commit 79b5490676

View File

@@ -47,7 +47,7 @@ class CacheFileStore
def clean
Dir[File.join(@storage_path, '*')].each do |f|
File.delete(f) if !File.symlink?(f)
File.delete(f) unless File.symlink?(f)
end
end