mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40: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(
|
'/countdown/' => array(
|
||||||
'(?:query/(?P<queryKey>[^/]+)/)?'
|
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||||||
=> 'PhabricatorCountdownListController',
|
=> 'PhabricatorCountdownListController',
|
||||||
'(?P<id>[1-9]\d*)/'
|
|
||||||
=> 'PhabricatorCountdownViewController',
|
|
||||||
'comment/(?P<id>[1-9]\d*)/'
|
'comment/(?P<id>[1-9]\d*)/'
|
||||||
=> 'PhabricatorCountdownCommentController',
|
=> 'PhabricatorCountdownCommentController',
|
||||||
$this->getEditRoutePattern('edit/')
|
$this->getEditRoutePattern('edit/')
|
||||||
|
|
|
@ -110,7 +110,7 @@ final class PhabricatorCountdownSearchEngine
|
||||||
->setObject($countdown)
|
->setObject($countdown)
|
||||||
->setObjectName($countdown->getMonogram())
|
->setObjectName($countdown->getMonogram())
|
||||||
->setHeader($countdown->getTitle())
|
->setHeader($countdown->getTitle())
|
||||||
->setHref($this->getApplicationURI("{$id}/"))
|
->setHref($countdown->getURI())
|
||||||
->addByline(
|
->addByline(
|
||||||
pht(
|
pht(
|
||||||
'Created by %s',
|
'Created by %s',
|
||||||
|
|
Loading…
Reference in a new issue