From 6ba0e5cfbf4113e0f733b8be403e879aabc51fe1 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Mon, 2 Feb 2015 14:40:36 -0800 Subject: [PATCH] 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 --- .../controller/product/ReleephProductCreateController.php | 2 +- src/applications/releeph/view/branch/ReleephBranchTemplate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/releeph/controller/product/ReleephProductCreateController.php b/src/applications/releeph/controller/product/ReleephProductCreateController.php index 0bad1031b8..801ec7fe48 100644 --- a/src/applications/releeph/controller/product/ReleephProductCreateController.php +++ b/src/applications/releeph/controller/product/ReleephProductCreateController.php @@ -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(); } diff --git a/src/applications/releeph/view/branch/ReleephBranchTemplate.php b/src/applications/releeph/view/branch/ReleephBranchTemplate.php index 73c5d5200e..030c70f8e9 100644 --- a/src/applications/releeph/view/branch/ReleephBranchTemplate.php +++ b/src/applications/releeph/view/branch/ReleephBranchTemplate.php @@ -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';