1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

Policy - fix method name

Summary: should just be "withIDs" Ref T7094

Test Plan: submitting this very diff!

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7094

Differential Revision: https://secure.phabricator.com/D11633
This commit is contained in:
Bob Trahan 2015-02-02 14:40:36 -08:00
parent 7789335fb3
commit 6ba0e5cfbf
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ final class ReleephProductCreateController extends ReleephProductController {
if ($arc_project->getRepositoryID()) {
$pr_repository = id(new PhabricatorRepositoryQuery())
->setViewer($request->getUser())
->withRepositoryIDs(array($arc_project->getRepositoryID()))
->withIDs(array($arc_project->getRepositoryID()))
->executeOne();
}

View file

@ -34,7 +34,7 @@ final class ReleephBranchTemplate {
if ($arc_project->getRepositoryID()) {
$repository = id(new PhabricatorRepositoryQuery())
->setViewer($viewer)
->withRepositoryIDs(array($arc_project->getRepositoryID()))
->withIDs(array($arc_project->getRepositoryID()))
->executeOne();
}
$fake_handle = 'SOFAKE';