Page MenuHomePhabricator

D11190.diff
No OneTemporary

D11190.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
Tue, Nov 19, 5:30 AM (4 h, 58 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714084
Default Alt Text
D11190.diff (977 B)

Event Timeline