Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14007621
D11190.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
977 B
Referenced Files
None
Subscribers
None
D11190.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11190: Remove unused `phabricator_on_relative_date` function
Attached
Detach File
Event Timeline
Log In to Comment