Guest User

blacklist_sendy

a guest
Sep 16th, 2014
485
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DELIMITER $$
  2. CREATE TRIGGER blacklist UPDATE ON subscribers
  3. FOR EACH ROW BEGIN
  4. IF (NEW.complaint = 1) THEN
  5. INSERT INTO `sendy`.`subscribers` (`userID`, `email`, `list`, `unsubscribed`, `bounced`, `complaint`, `confirmed`) VALUES ('1', OLD.email, '16', '1', '1', '1', '1');
  6. END IF;
  7. END$$
  8. DELIMITER ;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×