@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 24 lines 582 B view raw
1<?php 2 3$table = new PhabricatorProject(); 4$conn_w = $table->establishConnection('w'); 5 6foreach (new LiskMigrationIterator($table) as $project) { 7 $path = $project->getProjectPath(); 8 $key = $project->getProjectPathKey(); 9 10 if (strlen($path) && ($key !== "\0\0\0\0")) { 11 continue; 12 } 13 14 $path_key = PhabricatorHash::digestForIndex($project->getPHID()); 15 $path_key = substr($path_key, 0, 4); 16 17 queryfx( 18 $conn_w, 19 'UPDATE %T SET projectPath = %s, projectPathKey = %s WHERE id = %d', 20 $project->getTableName(), 21 $path_key, 22 $path_key, 23 $project->getID()); 24}