Merge pull request #8006 from yashodha/CRM-18263
[civicrm-core.git] / sql / trigger.mysql
index 9c98e3e04a3e6803e88c6aef2d7b45cb74a5dedd..947e4e20edf6c45d3957a3386b30fdec2bf4245d 100644 (file)
@@ -1,7 +1,7 @@
 -- +--------------------------------------------------------------------+
--- | CiviCRM version 3.2                                                |
+-- | CiviCRM version 4.7                                                |
 -- +--------------------------------------------------------------------+
--- | Copyright CiviCRM LLC (c) 2004-2010                                |
+-- | Copyright CiviCRM LLC (c) 2004-2015                                |
 -- +--------------------------------------------------------------------+
 -- | This file is a part of CiviCRM.                                    |
 -- |                                                                    |
@@ -31,12 +31,12 @@ BEGIN
   -- we delete the corresponding entity_id/entity_table entries
   -- from all the linked tables (note, log etc)
   DELETE FROM civicrm_note
-        WHERE entity_id    = OLD.id 
+        WHERE entity_id    = OLD.id
           AND entity_table = 'civicrm_contact';
   DELETE FROM civicrm_log
         WHERE entity_id    = OLD.id
           AND entity_table = 'civicrm_contact';
-  DELETE FROM civicrm_task_status 
+  DELETE FROM civicrm_task_status
         WHERE responsible_entity_id    = OLD.id
           AND responsible_entity_table = 'civicrm_contact';