@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 26 lines 739 B view raw
1<?php 2 3$document_table = new PhrictionDocument(); 4$document_conn = $document_table->establishConnection('w'); 5$document_name = $document_table->getTableName(); 6 7$properties_table = new PhabricatorMetaMTAMailProperties(); 8$conn = $properties_table->establishConnection('w'); 9 10$iterator = new LiskRawMigrationIterator($document_conn, $document_name); 11foreach ($iterator as $row) { 12 queryfx( 13 $conn, 14 'INSERT IGNORE INTO %T 15 (objectPHID, mailProperties, dateCreated, dateModified) 16 VALUES 17 (%s, %s, %d, %d)', 18 $properties_table->getTableName(), 19 $row['phid'], 20 phutil_json_encode( 21 array( 22 'mailKey' => $row['mailKey'], 23 )), 24 PhabricatorTime::getNow(), 25 PhabricatorTime::getNow()); 26}