mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Remove old Countdown route
Summary: removes old phabricator.com/countdown/{id} route and code that uses that URL scheme Test Plan: loaded phabricator.com/countdown, verified that generated links point to phabricator.com/CXXX Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12524 Differential Revision: https://secure.phabricator.com/D17681
This commit is contained in:
parent
5c5d3c35a7
commit
ce06a051a5
2 changed files with 1 additions and 3 deletions
|
@ -42,8 +42,6 @@ final class PhabricatorCountdownApplication extends PhabricatorApplication {
|
|||
'/countdown/' => array(
|
||||
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||||
=> 'PhabricatorCountdownListController',
|
||||
'(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCountdownViewController',
|
||||
'comment/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCountdownCommentController',
|
||||
$this->getEditRoutePattern('edit/')
|
||||
|
|
|
@ -110,7 +110,7 @@ final class PhabricatorCountdownSearchEngine
|
|||
->setObject($countdown)
|
||||
->setObjectName($countdown->getMonogram())
|
||||
->setHeader($countdown->getTitle())
|
||||
->setHref($this->getApplicationURI("{$id}/"))
|
||||
->setHref($countdown->getURI())
|
||||
->addByline(
|
||||
pht(
|
||||
'Created by %s',
|
||||
|
|
Loading…
Reference in a new issue