remove newly introduced trailing spaces & tabs, new windows line-breaks also present...
[civicrm-core.git] / CRM / Financial / BAO / FinancialItem.php
index 44b508ac98b2422c57a9d7578614dab311a9cb93..3df83df8ed4e91c28c936ffc1c1acdd4795e7344 100644 (file)
@@ -203,7 +203,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
       return null;
     }
   }
-  
+
   /**
    * check if contact is present in financial_item table
    *
@@ -221,7 +221,7 @@ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem {
     if (empty($contactIds)) {
       return FALSE;
     }
-    
+
     $allowPermDelete = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'allowPermDeleteFinancial');
 
     if (!$allowPermDelete) {
@@ -234,14 +234,14 @@ WHERE cc.id IN (' . implode (',', $contactIds) . ') AND con.is_test = 0';
           $url = CRM_Utils_System::url('civicrm/contact/view', "reset=1&cid=$dao->id");
           $not_deleted[$dao->id] = "<a href='$url'>$dao->display_name</a>";
         }
-        
+
         $errorStatus = '';
         if (is_array($error)) {
           $errorStatus = '<ul><li>' . implode('</li><li>', $not_deleted) . '</li></ul>';
         }
-        
+
         $error['_qf_default'] = $errorStatus .  ts('This contact(s) can not be permanently deleted because the contact record is linked to one or more live financial transactions. Deleting this contact would result in the loss of financial data.');
-        return $error; 
+        return $error;
       }
     }
     return FALSE;