diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php index f9d0964eda..28013ec4dc 100644 --- a/src/applications/project/query/PhabricatorProjectSearchEngine.php +++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php @@ -219,36 +219,6 @@ final class PhabricatorProjectSearchEngine foreach ($projects as $key => $project) { $id = $project->getID(); - $profile_uri = $this->getApplicationURI("profile/{$id}/"); - $workboards_uri = $this->getApplicationURI("board/{$id}/"); - $members_uri = $this->getApplicationURI("members/{$id}/"); - $profile_url = phutil_tag( - 'a', - array( - 'href' => $profile_uri, - ), - pht('Profile')); - $workboards_url = phutil_tag( - 'a', - array( - 'href' => $workboards_uri, - ), - pht('Workboard')); - - $members_class = null; - $members_sigil = null; - if (!isset($can_edit_projects[$key])) { - $members_class = 'disabled'; - $members_sigil = 'workflow'; - } - $members_url = javelin_tag( - 'a', - array( - 'href' => $members_uri, - 'class' => $members_class, - 'sigil' => $members_sigil, - ), - pht('Members')); $tag_list = id(new PHUIHandleTagListView()) ->setSlim(true) @@ -258,10 +228,7 @@ final class PhabricatorProjectSearchEngine ->setHeader($project->getName()) ->setHref($this->getApplicationURI("view/{$id}/")) ->setImageURI($project->getProfileImageURI()) - ->addAttribute($tag_list) - ->addAttribute($profile_url) - ->addAttribute($workboards_url) - ->addAttribute($members_url); + ->addAttribute($tag_list); if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ARCHIVED) { $item->addIcon('delete-grey', pht('Archived'));