Rename ManiphestTaskQuery::withProjects() to withAllProjects()

Summary: After D3630, make the API more clear: withAllProjects() vs withAnyProjects()

Test Plan: Loaded project page, maniphest task query, reports, filtered by project and "noproject". Grep.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1610

Differential Revision: https://secure.phabricator.com/D3631
This commit is contained in:
epriestley
2012-10-04 15:31:04 -07:00
parent 030726b144
commit 5cbc4fe7e1
5 changed files with 9 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ final class PhabricatorProjectProfileController
PhabricatorProjectProfile $profile) {
$query = id(new ManiphestTaskQuery())
->withProjects(array($project->getPHID()))
->withAnyProjects(array($project->getPHID()))
->withStatus(ManiphestTaskQuery::STATUS_OPEN)
->setOrderBy(ManiphestTaskQuery::ORDER_PRIORITY)
->setLimit(10)