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:
Ingo Schommer 2007-10-25 03:00:33 +00:00
parent 393caf4287
commit cbbd5e118c

View File

@ -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);
}
}