From 54fe18bf1736298e9d7bba94f9cf28a46119bc8e Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 16 May 2013 18:46:39 -0400 Subject: [PATCH] Cleanup --- CRM/Utils/Migrate/Export.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CRM/Utils/Migrate/Export.php b/CRM/Utils/Migrate/Export.php index e616c23bfb..44e817ed4d 100644 --- a/CRM/Utils/Migrate/Export.php +++ b/CRM/Utils/Migrate/Export.php @@ -336,14 +336,10 @@ AND entity_id IS NULL $keyValues = array(); foreach ($dbFields as $name => $dontCare) { // ignore all ids - if ($name == 'id' || - substr($name, -3, 3) == '_id' - ) { + if ($name == 'id' || substr($name, -3, 3) == '_id') { continue; } - if (isset($object->$name) && - $object->$name !== NULL - ) { + if (isset($object->$name) && $object->$name !== NULL) { // hack for extends_entity_column_value if ($name == 'extends_entity_column_value') { if ($object->extends == 'Event' || -- 2.25.1