mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
removed DriversLicense references from LoginForm (guess thats leftovers from perweek-client)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42367 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e7993a1bb0
commit
0bf09f0df0
@ -1021,17 +1021,13 @@ class Member_SignupEmail extends Email_Template {
|
||||
</li>
|
||||
<% end_if %>
|
||||
|
||||
<% if DriversLicense5A %>
|
||||
<li><strong>Drivers License:</strong> $DriversLicense5A<% if DriversLicense5B %> - $DriversLicense5B <% end_if %></li>
|
||||
<% end_if %>
|
||||
|
||||
</ul>';
|
||||
|
||||
function MemberData() {
|
||||
return $this->template_data->listOfFields(
|
||||
"FirstName", "Surname", "Email",
|
||||
"Phone", "Mobile", "Street",
|
||||
"Suburb", "City", "Postcode", "DriversLicense5A", "DriversLicense5B"
|
||||
"Suburb", "City", "Postcode"
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -1090,7 +1086,7 @@ class Member_UnsubscribeRecord extends DataObject {
|
||||
? $member
|
||||
: $member->ID;
|
||||
|
||||
$this->NewsletterTypeID = (is_numeric($newletterType))
|
||||
$this->NewsletterTypeID = (is_numeric($newsletterType))
|
||||
? $newsletterType
|
||||
: $newsletterType->ID;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user