From 496c22dc0faece4a1ef38c94119f8e4b97bb4a4f Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 20 Dec 2010 09:53:01 +0000 Subject: [PATCH] hydra: remove old clear eval cache option --- src/lib/Hydra/Controller/Admin.pm | 9 --------- src/root/admin.tt | 1 - 2 files changed, 10 deletions(-) diff --git a/src/lib/Hydra/Controller/Admin.pm b/src/lib/Hydra/Controller/Admin.pm index 8d1edfe2..29b0d9f9 100644 --- a/src/lib/Hydra/Controller/Admin.pm +++ b/src/lib/Hydra/Controller/Admin.pm @@ -302,15 +302,6 @@ sub clearfailedcache : Chained('admin') Path('clear-failed-cache') Args(0) { $c->res->redirect("/admin"); } -sub clearevalcache : Chained('admin') Path('clear-eval-cache') Args(0) { - my ($self, $c) = @_; - - print "Clearing evaluation cache\n"; - $c->model('DB::JobsetInputHashes')->delete_all; - - $c->res->redirect("/admin") -} - sub clearvcscache : Chained('admin') Path('clear-vcs-cache') Args(0) { my ($self, $c) = @_; diff --git a/src/root/admin.tt b/src/root/admin.tt index 491341d2..492cb339 100644 --- a/src/root/admin.tt +++ b/src/root/admin.tt @@ -8,7 +8,6 @@
  • Caching