@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 22 lines 674 B view raw
1<?php 2 3$key = 'metamta.maniphest.default-public-author'; 4echo pht("Migrating `%s` to new application email infrastructure...\n", $key); 5$value = PhabricatorEnv::getEnvConfigIfExists($key); 6$maniphest = new PhabricatorManiphestApplication(); 7$config_key = 8 PhabricatorMetaMTAApplicationEmail::CONFIG_DEFAULT_AUTHOR; 9 10if ($value) { 11 $app_emails = id(new PhabricatorMetaMTAApplicationEmailQuery()) 12 ->setViewer(PhabricatorUser::getOmnipotentUser()) 13 ->withApplicationPHIDs(array($maniphest->getPHID())) 14 ->execute(); 15 16 foreach ($app_emails as $app_email) { 17 $app_email->setConfigValue($config_key, $value); 18 $app_email->save(); 19 } 20} 21 22echo pht('Done.')."\n";