Skip to content

Commit

Permalink
FIX: remove obsolete field LastVisited
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideup authored Jan 9, 2025
1 parent 02b164f commit d150390
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/CMSProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function getEditForm($id = null, $fields = null)
return $form;
}

$form->Fields()->removeByName('LastVisited');
$form->Fields()->push(new HiddenField('ID', null, Security::getCurrentUser()->ID));
$form->Actions()->push(
FormAction::create('save', _t(CMSMain::class . '.SAVE', 'Save'))
Expand Down

0 comments on commit d150390

Please sign in to comment.