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:
Ingo Schommer 2007-09-21 00:07:15 +00:00
parent e7993a1bb0
commit 0bf09f0df0

View File

@ -1021,17 +1021,13 @@ class Member_SignupEmail extends Email_Template {
</li> </li>
<% end_if %> <% end_if %>
<% if DriversLicense5A %>
<li><strong>Drivers License:</strong> $DriversLicense5A<% if DriversLicense5B %> - $DriversLicense5B <% end_if %></li>
<% end_if %>
</ul>'; </ul>';
function MemberData() { function MemberData() {
return $this->template_data->listOfFields( return $this->template_data->listOfFields(
"FirstName", "Surname", "Email", "FirstName", "Surname", "Email",
"Phone", "Mobile", "Street", "Phone", "Mobile", "Street",
"Suburb", "City", "Postcode", "DriversLicense5A", "DriversLicense5B" "Suburb", "City", "Postcode"
); );
} }
} }
@ -1090,7 +1086,7 @@ class Member_UnsubscribeRecord extends DataObject {
? $member ? $member
: $member->ID; : $member->ID;
$this->NewsletterTypeID = (is_numeric($newletterType)) $this->NewsletterTypeID = (is_numeric($newsletterType))
? $newsletterType ? $newsletterType
: $newsletterType->ID; : $newsletterType->ID;