Migrate Project names to modular transactions
Summary: Also changes access modifiers on `PhabricatorProjectTransactionEditor` and sets up `storage` for `applyExternalEffects`. Test Plan: Created new projects, attempted to create without name, with too long of a name, and with a name that conflicts with other projects and observed expected errors. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T12673 Differential Revision: https://secure.phabricator.com/D17947
This commit is contained in:
@@ -32,7 +32,7 @@ foreach ($rows as $row) {
|
||||
$project_phid = $project_row['phid'];
|
||||
|
||||
$type_map = array(
|
||||
'name' => PhabricatorProjectTransaction::TYPE_NAME,
|
||||
'name' => PhabricatorProjectNameTransaction::TRANSACTIONTYPE,
|
||||
'members' => PhabricatorProjectTransaction::TYPE_MEMBERS,
|
||||
'status' => PhabricatorProjectTransaction::TYPE_STATUS,
|
||||
'canview' => PhabricatorTransactions::TYPE_VIEW_POLICY,
|
||||
|
||||
Reference in New Issue
Block a user