diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index ded19e23cf..ec110c2d66 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -3033,7 +3033,6 @@ phutil_register_library_map(array( 'phabricator_datetime' => 'view/viewutils.php', 'phabricator_form' => 'infrastructure/javelin/markup.php', 'phabricator_format_local_time' => 'view/viewutils.php', - 'phabricator_on_relative_date' => 'view/viewutils.php', 'phabricator_relative_date' => 'view/viewutils.php', 'phabricator_time' => 'view/viewutils.php', 'phabricator_time_format' => 'view/viewutils.php', diff --git a/src/view/viewutils.php b/src/view/viewutils.php index df176ed84c..990c811c84 100644 --- a/src/view/viewutils.php +++ b/src/view/viewutils.php @@ -7,10 +7,6 @@ function phabricator_date($epoch, PhabricatorUser $user) { 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) { static $today; static $yesterday;