Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20140731.audit.1.subscribers.php
Show All 13 Lines | if ($request->getAuditStatus() != 'cc') { | ||||
continue; | continue; | ||||
} | } | ||||
queryfx( | queryfx( | ||||
$conn_w, | $conn_w, | ||||
'INSERT IGNORE INTO %T (src, type, dst) VALUES (%s, %d, %s)', | 'INSERT IGNORE INTO %T (src, type, dst) VALUES (%s, %d, %s)', | ||||
PhabricatorEdgeConfig::TABLE_NAME_EDGE, | PhabricatorEdgeConfig::TABLE_NAME_EDGE, | ||||
$request->getCommitPHID(), | $request->getCommitPHID(), | ||||
PhabricatorEdgeConfig::TYPE_OBJECT_HAS_SUBSCRIBER, | PhabricatorObjectHasSubscriberEdgeType::EDGECONST, | ||||
$request->getAuditorPHID()); | $request->getAuditorPHID()); | ||||
// Wipe the row. | // Wipe the row. | ||||
$request->delete(); | $request->delete(); | ||||
} | } | ||||
echo "Done.\n"; | echo "Done.\n"; |