Removed "Last visited" from admin/myprofile (fixes #648)

It doesn't make any sense in this context
This commit is contained in:
Ingo Schommer 2013-06-13 15:01:23 +02:00
parent 9d4b8f61ca
commit d42cbdd613

View File

@ -23,6 +23,7 @@ class CMSProfileController extends LeftAndMain {
$form = parent::getEditForm($id, $fields);
if($form instanceof SS_HTTPResponse) return $form;
$form->Fields()->removeByName('LastVisited');
$form->Fields()->push(new HiddenField('ID', null, Member::currentUserID()));
$form->Actions()->push(
FormAction::create('save',_t('CMSMain.SAVE', 'Save'))