Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/engine/HeraldEngine.php
| Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | if ($delete_ids || $applied_ids) { | ||||
| $sql[] = qsprintf( | $sql[] = qsprintf( | ||||
| $conn_w, | $conn_w, | ||||
| '(%s, %d)', | '(%s, %d)', | ||||
| $adapter->getPHID(), | $adapter->getPHID(), | ||||
| $id); | $id); | ||||
| } | } | ||||
| queryfx( | queryfx( | ||||
| $conn_w, | $conn_w, | ||||
| 'INSERT IGNORE INTO %T (phid, ruleID) VALUES %Q', | 'INSERT IGNORE INTO %T (phid, ruleID) VALUES %LQ', | ||||
| HeraldRule::TABLE_RULE_APPLIED, | HeraldRule::TABLE_RULE_APPLIED, | ||||
| implode(', ', $sql)); | $sql); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| public function getTranscript() { | public function getTranscript() { | ||||
| $this->transcript->save(); | $this->transcript->save(); | ||||
| return $this->transcript; | return $this->transcript; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 377 Lines • Show Last 20 Lines | |||||