From c86ef6ba1586c96c4874b00dc3d0ca48f47e4ef4 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 24 Nov 2009 13:07:04 -0800 Subject: [PATCH] Remove old Cache code for filesystem cache. --- lib/WebGUI/Cache.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/WebGUI/Cache.pm b/lib/WebGUI/Cache.pm index f0005864a..2c274bf49 100644 --- a/lib/WebGUI/Cache.pm +++ b/lib/WebGUI/Cache.pm @@ -226,19 +226,6 @@ sub get { #------------------------------------------------------------------- -=head2 flush ( ) - -Flushes the caching system. Must be overridden. - -=cut - -sub flush { - my $self = shift; - File::Path::rmtree($self->session->config->get("uploadsPath")."/temp"); -} - -#------------------------------------------------------------------- - =head2 mget ( names ) Retrieves multiple values from cache at once, which is much faster than retrieving one at a time. Returns an array reference containing the values in the order they were requested.