Rename setMembers() to withMemberPHIDs() in PhabricatorProjectQuery

Summary: This is clearer and more consistent with other Query classes.

Test Plan: Used home page, conduit api, project list, other interfaces.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D3179
This commit is contained in:
epriestley
2012-08-07 11:54:24 -07:00
parent d25d9ddb01
commit b0fda3be25
7 changed files with 14 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ final class PhabricatorProjectListController
switch ($this->filter) {
case 'active':
$table_header = 'Your Projects';
$query->setMembers(array($view_phid));
$query->withMemberPHIDs(array($view_phid));
$query->withStatus(PhabricatorProjectQuery::STATUS_ACTIVE);
break;
case 'allactive':