From 5e4ce962667aa15a5ca1180ed9dea0edd59688f7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 23 Sep 2014 00:57:46 +0600 Subject: [PATCH] Fix some more issues after the merge --- scripts/gitadmin/rebuild_gitadmin.php | 4 ++-- scripts/svnauth/rebuild_svnauth.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gitadmin/rebuild_gitadmin.php b/scripts/gitadmin/rebuild_gitadmin.php index bb1a8bc69b..e2ed8bfed9 100755 --- a/scripts/gitadmin/rebuild_gitadmin.php +++ b/scripts/gitadmin/rebuild_gitadmin.php @@ -81,12 +81,12 @@ function handleSingleRepository( $viewer, $repository); - $pushable = $policies[DiffusionCapabilityPush::CAPABILITY]; + $pushable = $policies[DiffusionPushCapability::CAPABILITY]; $type = phid_get_type($pushable->getPHID()); $members = array(); - if ($type == PhabricatorProjectPHIDTypeProject::TYPECONST) { + if ($type == PhabricatorProjectProjectPHIDType::TYPECONST) { $project = id(new PhabricatorProjectQuery()) ->setViewer($viewer) ->needMembers(true) diff --git a/scripts/svnauth/rebuild_svnauth.php b/scripts/svnauth/rebuild_svnauth.php index 9446d73ec3..7b17d91f01 100755 --- a/scripts/svnauth/rebuild_svnauth.php +++ b/scripts/svnauth/rebuild_svnauth.php @@ -84,7 +84,7 @@ function handleSingleRepository( $access[$repository_rootpath]['RO'] = array(); } - if ($type == PhabricatorProjectPHIDTypeProject::TYPECONST) { + if ($type == PhabricatorProjectProjectPHIDType::TYPECONST) { $project = id(new PhabricatorProjectQuery()) ->setViewer($viewer) ->needMembers(true)