1
0
Fork 0
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:
Joshua Spence 2015-01-05 06:38:37 +11:00
parent 02710ee779
commit e33f5b785e
2 changed files with 0 additions and 5 deletions

View file

@ -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',

View file

@ -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;