For now, only clear feed aggregation cache if clear all cache is requested.

This commit is contained in:
2015-10-12 19:22:37 +02:00
parent 3ed2f410d9
commit 872f2a177d

View File

@@ -194,10 +194,13 @@ feature -- Hook
p: PATH p: PATH
dir: DIRECTORY dir: DIRECTORY
do do
p := a_response.api.files_location.extended (".cache").extended (name) if a_cache_id_list = Void then
create dir.make_with_path (p) -- Clear all cache.
if dir.exists then p := a_response.api.files_location.extended (".cache").extended (name)
dir.recursive_delete create dir.make_with_path (p)
if dir.exists then
dir.recursive_delete
end
end end
end end