Page MenuHomePhabricator

D11190.id.diff
No OneTemporary

D11190.id.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -3033,7 +3033,6 @@
'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
--- a/src/view/viewutils.php
+++ b/src/view/viewutils.php
@@ -7,10 +7,6 @@
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;

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 30, 9:05 AM (2 w, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714084
Default Alt Text
D11190.id.diff (977 B)

Event Timeline