@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.

Correctly initialize new PhortuneAccount automatically

Summary: There is currently a validation error triggered if you initialize a new account without a member set. I think this is the correct fix, but let me know.

Test Plan: truncate phortune_account database, navigate to phortune, see account automatically created to "Default Account".

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17657

authored by

Chad Little and committed by
chad
149c1a6d eeef60a6

+1 -1
+1 -1
src/applications/phortune/storage/PhortuneAccount.php
··· 17 17 18 18 public static function initializeNewAccount(PhabricatorUser $actor) { 19 19 $account = id(new PhortuneAccount()); 20 - $account->memberPHIDs = array(); 20 + $account->memberPHIDs = array($actor->getPHID() => $actor->getPHID()); 21 21 22 22 return $account; 23 23 }