1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +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:
Bob Trahan 2015-02-17 15:03:57 -08:00
parent b6031a721f
commit 52f724e6cf

View file

@ -50,7 +50,6 @@ final class PhabricatorProject extends PhabricatorProjectDAO
ProjectDefaultJoinCapability::CAPABILITY);
return id(new PhabricatorProject())
->setName('')
->setAuthorPHID($actor->getPHID())
->setIcon(self::DEFAULT_ICON)
->setColor(self::DEFAULT_COLOR)