BUG Remove "delete" button from "My Profile" (fixes #8121)

This commit is contained in:
Ingo Schommer 2012-12-15 20:02:17 +01:00
parent e6bf19928f
commit b3657147bf

View File

@ -30,7 +30,7 @@ class CMSProfileController extends LeftAndMain {
->setAttribute('data-icon', 'accept')
->setUseButtonTag(true)
);
$form->Actions()->removeByName('delete');
$form->Actions()->removeByName('action_delete');
$form->setValidator(new Member_Validator());
$form->setTemplate('Form');
$form->setAttribute('data-pjax-fragment', null);