2015-07-30 11:39:35 -07:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 08:07:31 -07:00
|
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
|
|
ON a.ruleID = r.id
|
|
|
|
SET a.action = 'subscribers.add'
|
|
|
|
WHERE r.ruleType != 'personal'
|
|
|
|
AND a.action = 'addcc';
|
|
|
|
|
2015-07-30 11:39:35 -07:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 08:07:31 -07:00
|
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
|
|
ON a.ruleID = r.id
|
|
|
|
SET a.action = 'subscribers.self.add'
|
|
|
|
WHERE r.ruleType = 'personal'
|
|
|
|
AND a.action = 'addcc';
|
|
|
|
|
2015-07-30 11:39:35 -07:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 08:07:31 -07:00
|
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
|
|
ON a.ruleID = r.id
|
|
|
|
SET a.action = 'subscribers.remove'
|
|
|
|
WHERE r.ruleType != 'personal'
|
|
|
|
AND a.action = 'remcc';
|
|
|
|
|
2015-07-30 11:39:35 -07:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 08:07:31 -07:00
|
|
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
|
|
|
ON a.ruleID = r.id
|
|
|
|
SET a.action = 'subscribers.self.remove'
|
|
|
|
WHERE r.ruleType = 'personal'
|
|
|
|
AND a.action = 'remcc';
|