Migrate Project workboard background color to modular transactions

Summary: Removes now-unused method as well. Fixes T12673.

Test Plan: UI fiddling.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Maniphest Tasks: T12673

Differential Revision: https://secure.phabricator.com/D18014
This commit is contained in:
Austin McKinley
2017-05-24 12:46:49 -07:00
parent eb296796aa
commit 88466addee
5 changed files with 31 additions and 77 deletions

View File

@@ -37,7 +37,8 @@ final class PhabricatorProjectBoardBackgroundController
$xactions = array();
$xactions[] = id(new PhabricatorProjectTransaction())
->setTransactionType(PhabricatorProjectTransaction::TYPE_BACKGROUND)
->setTransactionType(
PhabricatorProjectWorkboardBackgroundTransaction::TRANSACTIONTYPE)
->setNewValue($background_key);
id(new PhabricatorProjectTransactionEditor())