1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

Fix default-public-author migration script

Summary: Via IRC. This parameter isn't constructed quite correctly. See P1710.

Test Plan: Inspection.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: yelirekim, epriestley

Differential Revision: https://secure.phabricator.com/D11568
This commit is contained in:
epriestley 2015-01-29 14:03:45 -08:00
parent 1ecfa0313c
commit ffaed67711

View file

@ -10,7 +10,7 @@ $config_key =
if ($value) { if ($value) {
$app_emails = id(new PhabricatorMetaMTAApplicationEmailQuery()) $app_emails = id(new PhabricatorMetaMTAApplicationEmailQuery())
->setViewer(PhabricatorUser::getOmnipotentUser()) ->setViewer(PhabricatorUser::getOmnipotentUser())
->withApplicationPHIDs($maniphest->getPHID()) ->withApplicationPHIDs(array($maniphest->getPHID()))
->execute(); ->execute();
foreach ($app_emails as $app_email) { foreach ($app_emails as $app_email) {