Bug #42830 ยป class.tx_version_tcemain.php.patch
class.tx_version_tcemain.php | ||
---|---|---|
}
|
||
$stageId = -20; // Tx_Workspaces_Service_Stages::STAGE_PUBLISH_EXECUTE_ID;
|
||
if ($notificationEmailInfo) {
|
||
$notificationEmailInfoKey = $wsAccess['uid'] . ':' . $stageId . ':' . $comment;
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['shared'] = array($wsAccess, $stageId, $comment);
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['elements'][] = $table . ':' . $id;
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['alternativeRecipients'] = $notificationAlternativeRecipients;
|
||
} else {
|
||
$this->notifyStageChange($wsAccess, $stageId, $table, $id, $comment, $tcemainObj, $notificationAlternativeRecipients);
|
||
if ((int)$stat['stagechg_notification'] > 0) {
|
||
if ($notificationEmailInfo) {
|
||
$notificationEmailInfoKey = $wsAccess['uid'] . ':' . $stageId . ':' . $comment;
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['shared'] = array($wsAccess, $stageId, $comment);
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['elements'][] = $table . ':' . $id;
|
||
$this->notificationEmailInfo[$notificationEmailInfoKey]['alternativeRecipients'] = $notificationAlternativeRecipients;
|
||
} else {
|
||
$this->notifyStageChange($wsAccess, $stageId, $table, $id, $comment, $tcemainObj, $notificationAlternativeRecipients);
|
||
}
|
||
}
|
||
// Write to log with stageId -20
|