mirror of
https://we.phorge.it/source/phorge.git
synced 2024-09-20 09:18:48 +02:00
Project - don't create the empty tag on create anymore
Summary: Fixes T7284. We were initialized the project name to the empty string, which was making things work like a rename, including automagically adding the old slug. Test Plan: made a project and no more "empty" tag being made. also don't have that bad transaction story anymore. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7284 Differential Revision: https://secure.phabricator.com/D11794
This commit is contained in:
parent
b6031a721f
commit
52f724e6cf
1 changed files with 0 additions and 1 deletions
|
@ -50,7 +50,6 @@ final class PhabricatorProject extends PhabricatorProjectDAO
|
||||||
ProjectDefaultJoinCapability::CAPABILITY);
|
ProjectDefaultJoinCapability::CAPABILITY);
|
||||||
|
|
||||||
return id(new PhabricatorProject())
|
return id(new PhabricatorProject())
|
||||||
->setName('')
|
|
||||||
->setAuthorPHID($actor->getPHID())
|
->setAuthorPHID($actor->getPHID())
|
||||||
->setIcon(self::DEFAULT_ICON)
|
->setIcon(self::DEFAULT_ICON)
|
||||||
->setColor(self::DEFAULT_COLOR)
|
->setColor(self::DEFAULT_COLOR)
|
||||||
|
|
Loading…
Reference in a new issue