@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 758 B view raw
1<?php 2 3$packages_table = new PhabricatorOwnersPackage(); 4$packages_conn = $packages_table->establishConnection('w'); 5$packages_name = $packages_table->getTableName(); 6 7$properties_table = new PhabricatorMetaMTAMailProperties(); 8$conn = $properties_table->establishConnection('w'); 9 10$iterator = new LiskRawMigrationIterator($packages_conn, $packages_name); 11foreach ($iterator as $package) { 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 $package['phid'], 20 phutil_json_encode( 21 array( 22 'mailKey' => $package['mailKey'], 23 )), 24 PhabricatorTime::getNow(), 25 PhabricatorTime::getNow()); 26}