From 6a02f2edb556fadccc40d46c81c8074ac6971c0c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 20 Dec 2010 00:16:49 +0000 Subject: [PATCH] BUGFIX Removing form actions from $allowed_actions in AssetAdmin, CMSMain, LeftAndMain - handled through Form->httpSubmission() (from r115185) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@115189 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetAdmin.php | 2 -- code/CMSMain.php | 6 ------ code/LeftAndMain.php | 1 - 3 files changed, 9 deletions(-) diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index 17a7377a..9939220d 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -27,13 +27,11 @@ class AssetAdmin extends LeftAndMain { 'deletefolder', 'deletemarked', 'DeleteItemsForm', - 'deleteUnusedThumbnails', 'doUpload', 'getfile', 'getsubtree', 'movemarked', 'removefile', - 'save', 'savefile', 'sync', 'uploadiframe', diff --git a/code/CMSMain.php b/code/CMSMain.php index 5125a513..d2f253b6 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -32,8 +32,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr 'canceldraftchangesdialog', 'compareversions', 'createtranslation', - 'delete', - 'deletefromlive', 'deleteitems', 'DeleteItemsForm', 'dialog', @@ -44,13 +42,9 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr 'publishall', 'publishitems', 'PublishItemsForm', - 'restore', - 'revert', - 'rollback', 'RootForm', 'sidereport', 'submit', - 'unpublish', 'versions', 'EditForm', 'AddPageOptionsForm', diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index eddf6f2f..8e050593 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -50,7 +50,6 @@ class LeftAndMain extends Controller { 'getsubtree', 'myprofile', 'printable', - 'save', 'show', 'Member_ProfileForm', 'EditorToolbar',