Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15345793
D17690.id42544.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
640 B
Referenced Files
None
Subscribers
None
D17690.id42544.diff
View Options
diff --git a/src/applications/phortune/storage/PhortuneAccount.php b/src/applications/phortune/storage/PhortuneAccount.php
--- a/src/applications/phortune/storage/PhortuneAccount.php
+++ b/src/applications/phortune/storage/PhortuneAccount.php
@@ -16,10 +16,8 @@
private $memberPHIDs = self::ATTACHABLE;
public static function initializeNewAccount(PhabricatorUser $actor) {
- $account = id(new PhortuneAccount());
- $account->memberPHIDs = array($actor->getPHID() => $actor->getPHID());
-
- return $account;
+ return id(new self())
+ ->attachMemberPHIDs(array());
}
public static function createNewAccount(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 12:27 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7526037
Default Alt Text
D17690.id42544.diff (640 B)
Attached To
Mode
D17690: Fix a bug where Phortune accounts created via "Create Account" would not have the viewer added as a member
Attached
Detach File
Event Timeline
Log In to Comment