BUGFIX Using $allowed_actions in Image_Uploader (Merged from r73255)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@73291 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-03-18 03:01:36 +00:00 committed by Sam Minnee
parent 7169b9aee7
commit e46ecdc1f8

View File

@ -477,6 +477,10 @@ class Image_Uploader extends Controller {
'$Action/$Class/$ID/$Field' => 'handleAction',
);
static $allowed_actions = array(
'*' => 'CMS_ACCESS_CMSMain'
);
function init() {
// set language
$member = Member::currentUser();