From b1149000535d0213d01443335ef457ed4dfeb887 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Mon, 26 Jan 2009 21:33:08 +0000 Subject: [PATCH] BUGFIX: 1. TableListField exportfunality random bug. 2. make Email_BounceRecord::canCreate() return false; so that it can not be manully create from CRM, instead, it should create through email buncing system. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@70743 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- email/Email.php | 9 --------- forms/TableListField.php | 1 - 2 files changed, 10 deletions(-) diff --git a/email/Email.php b/email/Email.php index fed42ce80..47e3629eb 100755 --- a/email/Email.php +++ b/email/Email.php @@ -745,15 +745,6 @@ class Email_BounceRecord extends DataObject { static $many_many = array(); static $defaults = array(); - - /** - * a record of Email_BounceRecord can't be created manually. Instead, it should be - * created though system. - */ - - public function canCreate($member = null) { - return false; - } } /** diff --git a/forms/TableListField.php b/forms/TableListField.php index e1f9fe4db..06f737c0e 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -946,7 +946,6 @@ JS if($fieldItems) { foreach($fieldItems as $fieldItem) { $fields = $fieldItem->Fields(); - $columnData = array(); if($fields) foreach($fields as $field) { $value = $field->Value;