Browse files

BUGFIX Removing form actions from $allowed_actions in AssetAdmin, CMS…

…Main, LeftAndMain - handled through Form->httpSubmission()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115185 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 102ba8b commit 1e0579cbe433929e3f87a3b01ba282b0c1e15584 @chillu chillu committed Dec 20, 2010
Showing with 0 additions and 11 deletions.
  1. +0 −2 code/AssetAdmin.php
  2. +0 −7 code/CMSMain.php
  3. +0 −2 code/LeftAndMain.php
View
2 code/AssetAdmin.php
@@ -23,10 +23,8 @@ class AssetAdmin extends LeftAndMain {
public static $allowed_max_file_size;
static $allowed_actions = array(
- 'deleteUnusedThumbnails',
'doUpload',
'getsubtree',
- 'save',
'uploadiframe',
'UploadForm',
'deleteUnusedThumbnails' => 'ADMIN',
View
7 code/CMSMain.php
@@ -28,23 +28,16 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
static $allowed_actions = array(
'addmember',
- 'doAdd',
'buildbrokenlinks',
'compareversions',
'createtranslation',
- 'delete',
- 'deletefromlive',
'duplicate',
'duplicatewithchildren',
'getversion',
'publishall',
- 'restore',
- 'revert',
- 'rollback',
'sidereports',
'SideReportsForm',
'submit',
- 'unpublish',
'versions',
'EditForm',
'AddForm',
View
2 code/LeftAndMain.php
@@ -51,15 +51,13 @@ class LeftAndMain extends Controller {
'getsubtree',
'myprofile',
'printable',
- 'save',
'show',
'Member_ProfileForm',
'EditorToolbar',
'EditForm',
'BatchActionsForm',
'batchactions',
'AddForm',
- 'doAdd'
);
/**

0 comments on commit 1e0579c

Please sign in to comment.