2015-07-30 20:39:35 +02:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 17:07:31 +02: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 20:39:35 +02:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 17:07:31 +02: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 20:39:35 +02:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 17:07:31 +02: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 20:39:35 +02:00
|
|
|
UPDATE {$NAMESPACE}_herald.herald_action a
|
2015-07-18 17:07:31 +02: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';
|