From 024bf71ccfeb14a672308d2bbaecf62680694a4c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 10 Nov 2008 01:45:35 +0000 Subject: [PATCH] BUGFIX Fixed SiteTreeMaintenanceTask from extending unkown class Task to extending Controller git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65512 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tasks/SiteTreeMaintenanceTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/SiteTreeMaintenanceTask.php b/tasks/SiteTreeMaintenanceTask.php index c11f5b95..2f53d4f1 100644 --- a/tasks/SiteTreeMaintenanceTask.php +++ b/tasks/SiteTreeMaintenanceTask.php @@ -3,7 +3,7 @@ * @package cms * @subpackage tasks */ -class SiteTreeMaintenanceTask extends Task { +class SiteTreeMaintenanceTask extends Controller { static $allowed_actions = array( '*' => 'ADMIN' );