From 4a11206b3f7f4d8b9c8235607d1952217971a965 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 18 Mar 2009 05:42:34 +0000 Subject: [PATCH] BUGFIX Added missing action 'DeleteImageForm' to Image::$allowed_actions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73319 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Image.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/model/Image.php b/core/model/Image.php index 1e4fba094..b9ec18c5c 100755 --- a/core/model/Image.php +++ b/core/model/Image.php @@ -440,7 +440,8 @@ class Image_Uploader extends Controller { 'flush' => 'CMS_ACCESS_CMSMain', 'save' => 'CMS_ACCESS_CMSMain', 'delete' => 'CMS_ACCESS_CMSMain', - 'EditImageForm' => 'CMS_ACCESS_CMSMain' + 'EditImageForm' => 'CMS_ACCESS_CMSMain', + 'DeleteImageForm' => 'CMS_ACCESS_CMSMain' ); /**