diff --git a/src/applications/project/controller/PhabricatorProjectListController.php b/src/applications/project/controller/PhabricatorProjectListController.php index 535f62e9e5..4dab336181 100644 --- a/src/applications/project/controller/PhabricatorProjectListController.php +++ b/src/applications/project/controller/PhabricatorProjectListController.php @@ -33,7 +33,6 @@ final class PhabricatorProjectListController ->setBaseURI(new PhutilURI('/project/filter/')) ->addLabel('User') ->addFilter('active', 'Active') - ->addFilter('owned', 'Owned') ->addSpacer() ->addLabel('All') ->addFilter('all', 'All Projects') @@ -59,11 +58,6 @@ final class PhabricatorProjectListController $query->setMembers(array($view_phid)); $query->withStatus(PhabricatorProjectQuery::STATUS_ACTIVE); break; - case 'owned': - $table_header = 'Owned Projects'; - $query->setOwners(array($view_phid)); - $query->withStatus($status_filter); - break; case 'allactive': $status_filter = PhabricatorProjectQuery::STATUS_ACTIVE; $table_header = 'Active Projects'; diff --git a/src/applications/project/query/PhabricatorProjectQuery.php b/src/applications/project/query/PhabricatorProjectQuery.php index 58464fdd42..b1d7e65f45 100644 --- a/src/applications/project/query/PhabricatorProjectQuery.php +++ b/src/applications/project/query/PhabricatorProjectQuery.php @@ -20,7 +20,6 @@ final class PhabricatorProjectQuery { private $ids; private $phids; - private $owners; private $members; private $status = 'status-any'; @@ -60,11 +59,6 @@ final class PhabricatorProjectQuery { return $this; } - public function setOwners(array $owners) { - $this->owners = $owners; - return $this; - } - public function setMembers(array $members) { $this->members = $members; return $this; @@ -188,15 +182,6 @@ final class PhabricatorProjectQuery { $affil_table = new PhabricatorProjectAffiliation(); $joins = array(); - if ($this->owners) { - $joins[] = qsprintf( - $conn_r, - 'JOIN %T owner ON owner.projectPHID = p.phid AND owner.isOwner = 1 - AND owner.userPHID in (%Ls)', - $affil_table->getTableName(), - $this->owners); - } - if ($this->members) { $joins[] = qsprintf( $conn_r,