mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX failing db/build due to wrong __construct()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43843 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
393caf4287
commit
cbbd5e118c
@ -1173,7 +1173,7 @@ class Member_UnsubscribeRecord extends DataObject {
|
||||
$subject = '',
|
||||
$body = '';
|
||||
|
||||
function __construct() {
|
||||
function __construct($record = null, $isSingleton = false) {
|
||||
$this->subject = _t('Member.SUBJECTPASSWORDCHANGED');
|
||||
|
||||
$this->body = '
|
||||
@ -1183,6 +1183,8 @@ class Member_UnsubscribeRecord extends DataObject {
|
||||
<strong>' . _t('Member.PASSWORD') . ':</strong> $Password
|
||||
</p>
|
||||
<p>' . _t('Member.EMAILPASSWORDAPPENDIX', 'Your password has been changed. Please keep this email, for future reference.') . '</p>';
|
||||
|
||||
parent::__construct($record, $isSingleton);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user