mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
Remove unused phabricator_on_relative_date
function
Summary: This function isn't used. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11190
This commit is contained in:
parent
02710ee779
commit
e33f5b785e
2 changed files with 0 additions and 5 deletions
|
@ -3033,7 +3033,6 @@ phutil_register_library_map(array(
|
||||||
'phabricator_datetime' => 'view/viewutils.php',
|
'phabricator_datetime' => 'view/viewutils.php',
|
||||||
'phabricator_form' => 'infrastructure/javelin/markup.php',
|
'phabricator_form' => 'infrastructure/javelin/markup.php',
|
||||||
'phabricator_format_local_time' => 'view/viewutils.php',
|
'phabricator_format_local_time' => 'view/viewutils.php',
|
||||||
'phabricator_on_relative_date' => 'view/viewutils.php',
|
|
||||||
'phabricator_relative_date' => 'view/viewutils.php',
|
'phabricator_relative_date' => 'view/viewutils.php',
|
||||||
'phabricator_time' => 'view/viewutils.php',
|
'phabricator_time' => 'view/viewutils.php',
|
||||||
'phabricator_time_format' => 'view/viewutils.php',
|
'phabricator_time_format' => 'view/viewutils.php',
|
||||||
|
|
|
@ -7,10 +7,6 @@ function phabricator_date($epoch, PhabricatorUser $user) {
|
||||||
phutil_date_format($epoch));
|
phutil_date_format($epoch));
|
||||||
}
|
}
|
||||||
|
|
||||||
function phabricator_on_relative_date($epoch, $user) {
|
|
||||||
return phabricator_relative_date($epoch, $user, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
function phabricator_relative_date($epoch, $user, $on = false) {
|
function phabricator_relative_date($epoch, $user, $on = false) {
|
||||||
static $today;
|
static $today;
|
||||||
static $yesterday;
|
static $yesterday;
|
||||||
|
|
Loading…
Reference in a new issue