r49549 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49548‎ | r49549 | r49550 >
Date:02:20, 16 April 2009
Author:tomasz
Status:deferred
Tags:
Comment:
Checking to see if trigger exists before deleting it
Modified paths:
  • /civicrm/trunk/sites/all/bin/public_reporting/triggers.sql (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/bin/public_reporting/triggers.sql
@@ -1,6 +1,6 @@
2 -DROP TRIGGER public_reporting_insert;
3 -DROP TRIGGER public_reporting_update;
4 -DROP TRIGGER public_reporting_contact_update;
 2+DROP TRIGGER IF EXISTS public_reporting_insert;
 3+DROP TRIGGER IF EXISTS public_reporting_update;
 4+DROP TRIGGER IF EXISTS public_reporting_contact_update;
55 DELIMITER //
66 CREATE TRIGGER public_reporting_insert AFTER INSERT ON civicrm_contribution FOR EACH ROW
77 BEGIN

Status & tagging log