mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removed "Last visited" from admin/myprofile (fixes #648)
It doesn't make any sense in this context
This commit is contained in:
parent
9d4b8f61ca
commit
d42cbdd613
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user