Commit fd0df2ef authored by Leigh B Stoller's avatar Leigh B Stoller

Add FlushAll() and hook into emutil cache flush.

parent 5f984a6d
......@@ -34,6 +34,7 @@ use English;
use Date::Parse;
use emdb;
use libtestbed;
use emutil;
use Project;
use User;
use Experiment;
......@@ -43,6 +44,14 @@ use overload ('""' => 'Stringify');
my $TB = "@prefix@";
my %cache = ();
BEGIN { use emutil; emutil::AddCache(\%cache); }
sub FlushAll($)
{
my ($class) = @_;
%cache = ();
}
sub CreateCommon($$$$$$$$)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment